Ładuję...
photo
Do LESS with Less.js Dmitry Fadeyev has a great writeup of less.js, the implementation of the LESS styling language in JavaScript itself.
Traditionally you would write a less file such as:
PLAIN TEXT
CSS:
@brand-color: #3879BD;
.rounded(@radius: 3px) {
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
    border-radius: @radius;
}
#header {
    .rounded(5px);
    a {
        color: @brand-color;
        &:hover {
            color: #000;
        }
    }
}
 
and then you... #CSS #FrontPage #JavaScript Zobacz wpis
  1.  
  • Promuj wpis: