tjhillard / steller-css Goto Github PK
View Code? Open in Web Editor NEW⛰️ A utility-first CSS framework that serves as the foundation of your design system
License: MIT License
⛰️ A utility-first CSS framework that serves as the foundation of your design system
License: MIT License
$steller-transition-properties: (
'all',
'width',
'height',
'transform',
'opacity',
'border',
'background',
'background-color',
'box-shadow',
'margin',
'padding',
'visibility',
) !default;
I tried adding the more commonly transitioned properties to but don't want the list to be too big by default. Feedback welcome here. Full possible list.
There are 3 available transition classes.
Property: transition-{property}
Property to transition, needs to be included in $steller-transition-properties
.
Duration: transition-duration-{duration}
Duration of transition, needs to be included in $steller-durations
.
Timing Function: transition-timing-{timing}
Any of the available CSS transition timing functions (ease, linear, etc)
<div class="transition-all transition-duration-normal transition-timing-ease-in-out" />
transition: all duration('normal') ease-in-out;
<div class="transition-background transition-duration-extra-slow transition-timing-ease" />
transition: background duration('extra-slow') ease;
<div class="transition-opacity transition-duration-fast transition-timing-linear" />
transition: opacity duration('fast') linear;
https://github.com/tjhillard/steller-css/blob/master/example-theme.scss#L52
lg
value should be 1.5rem
Want to learn more about functional/atomic/utility-frist CSS?
Also, you stole my code
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.