1) What is CSS
- CSS stands for Cascading Style Sheets.
2) What does CSS use for?
- CSS is use to design web page. Previously, the styling of html webpage is done internally with the html coding. With CSS, these styling coding can be done externally which save a lot of works and make html coding cleaner in view.
3) What is CSS3?
- CSS3 is the latest standard for CSS. It has new interesting features which cannot be done in older standard of CSS.
1)Text Transform
Text Transform 50 degree.
Coding:
{
transform:rotate(50deg);
-ms-transform:rotate(50deg); /*IE*/
-moz-transform:rotate(50deg); /*Firefox*/
-webkit-transform:rotate(50deg); /*Chrome and Safari*/
-o-transform:rotate(50deg); /*Opera*/
}
transform:rotate(50deg);
-ms-transform:rotate(50deg); /*IE*/
-moz-transform:rotate(50deg); /*Firefox*/
-webkit-transform:rotate(50deg); /*Chrome and Safari*/
-o-transform:rotate(50deg); /*Opera*/
}
2)Rounded Corner
ROUND CORNER AT THE BRODER
Coding:
{
border:2px green solid;
border-radius:25px;
-moz-border-radius:25px;/*Firefox*/
}
border:2px green solid;
border-radius:25px;
-moz-border-radius:25px;/*Firefox*/
}
Shadow of the box
Coding:
{
box-shadow: 10px 10px 5px #888888;
-moz-box-shadow: 10px 10px 5px #888888; /*Firefox*/
-webkit-box-shadow: 10px 10px 5px #888888; /*Safari*/
}
box-shadow: 10px 10px 5px #888888;
-moz-box-shadow: 10px 10px 5px #888888; /*Firefox*/
-webkit-box-shadow: 10px 10px 5px #888888; /*Safari*/
}
Shadow of Text
Coding:
{
text-shadow: 10px 10px 3px #FF0000;
}
text-shadow: 10px 10px 3px #FF0000;
}
4) Box re-size
This box is re-sizable but the minimum size is fixed.
Coding:
{
resize: both;
}
resize: both;
}
There are still a lot of new features in css3 which you can refer to here.
No comments:
Post a Comment