Friday, December 20, 2013

CSS, @import and @keyframes




To include CSS file "mystyle.css" in a CSS file, using
@import "mystyle.css";
or 
@import url("mystyle.css");


To create an animation in CSS, using @keyframes, example:
@keyframes mymove
{
from {top:0px;}
to {top:10px;}
}
/* Safari and Chrome */
@-webkit-keyframes mymove
{
from {top:0px;}
to {top:10px;}


load to external web -font
@font-face
Reference:
http://www.w3.org/TR/CSS/ 
CSS framework:
http://blueprintcss.org/

No comments:

Post a Comment