DEV Community

Abraham Duno
Abraham Duno

Posted on

CSSCSS 1.0.7 Released!

We're excited to announce the release of CSSCSS version 1.0.7!

New Features

Font Family

We've added the tx-sans font family, which is sets the font family property to the popular Open Sans font. You can now use this font family in your CSS by simply including the following class:

tx-sans

CSS Code: .tx-sans {font-family: 'Open Sans', sans-serif;}

Transparent Backgrounds

We've also added support for transparent backgrounds with the new bg-trans class. This makes it easy to create backgrounds that are transparent, without having to write any complicated CSS. Here's how you can use it:

bg-trans

CSS Code: .bg-trans {background: transparent;}

Inset Box Shadow

Finally, we've added support for inset box shadows. This allows you to create more complex box shadows that appear inside an element. Here's how you can use it:

box-shadow-i-1

CSS Code: .box-shadow-i-1 {box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); }

Upgrade Instructions
To upgrade to CSSCSS 1.0.7, simply update your package.json file with the new version number:
"dependencies": {
"csscss": "^1.0.7"
}

Then, run npm install to install the new version.

Conclusion

We hope you enjoy using CSSCSS 1.0.7! As always, if you have any questions or feedback, please don't hesitate to get in touch with us.

Top comments (0)