- From: Leonardo Lima <leonardo403@gmail.com>
- Date: Wed, 1 Apr 2015 14:27:17 -0300
- To: public-html@w3.org, whatwg@whatwg.org
Received on Friday, 3 April 2015 22:00:45 UTC
Hi,
After that i see css custom properties , think that if creating Class
custom for CSS can help us. Nowadays we have that install preprocessor CSS
to and using this preprocessor CSS can using variables. Now lets change
how make CSS variables, see example below:
So can we working very fast with changes in projects of way correct,
without worry with files CSS, that continue pretty good.
:root{
/*create class*/
--btn-default{
width:50px;
height:30px;
font-size:15px;
font-weight:bold;
}
}
..btn-confirm{
class(--btn-default);/*call class*/
color:green;
}
--
*Leonardo Lima*
*Web developer*
Fone: *(051) 8336-5081*
Currículo online: http://leonardo403.github.io/curriculo-leonardo-lima/
Github: https://github.com/leonardo403
Google+: https://plus.google.com/u/0/+LeonardoLimawebdev/
About.me: http://about.me/leonardolima
Twitter: https://twitter.com/Leonardo403Br
Received on Friday, 3 April 2015 22:00:45 UTC