1 Some Features of CSS 3 [Article] 13th January 2010, 2:47 pm
SkipSoft
MITR New User
We shouldn’t be use old techniques when there’s a new age coming. New age includes the use of CSS3. OK! I will show some tutorials for CSS3. You can learn easily with CSS3. You can learn following in this tutorials. Box shadow, Text shadow, Rounded corners, multiple backgrounds and Columns.
Box Shadow CSS3
.box {
box-shadow: 5px 5px 2px black;
-moz-box-shadow: 5px 5px 2px black;
-webkit-box-shadow: 5px 5px 2px black;
}
Text shadow CSS3
.font {
font-size: 20px;
color: #2178d9;
}
.font {
text-shadow: 0 1px 0 #000;
}
Rounded Corners CSS3
.box {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
Multiple Backgrounds CSS3
.box {
width: 200px;
height: 150px;
background: url(images/text.png) center center no-repeat, url(images/bg.png) repeat-x;
}
Columns CSS3
.columns {
-moz-column-count: 2;
-webkit-column-count: 2;
}
Box Shadow CSS3
.box {
box-shadow: 5px 5px 2px black;
-moz-box-shadow: 5px 5px 2px black;
-webkit-box-shadow: 5px 5px 2px black;
}
Text shadow CSS3
.font {
font-size: 20px;
color: #2178d9;
}
.font {
text-shadow: 0 1px 0 #000;
}
Rounded Corners CSS3
.box {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
Multiple Backgrounds CSS3
.box {
width: 200px;
height: 150px;
background: url(images/text.png) center center no-repeat, url(images/bg.png) repeat-x;
}
Columns CSS3
.columns {
-moz-column-count: 2;
-webkit-column-count: 2;
}