Menu

1 / 5

CSS3: Rotations, Shadows, Rounded Edges & Animations

DEV Community: html·Kevinleary.net·12 days ago
#bsYl5Ail
#devto2#devto#dev#bbb#shadow
Reading 0:00
15s threshold

After attending an Event Apart Boston I’ve started to really see the potential of CSS 3.0 that can be used today. A few things that stood out throughout the 2-day conference have been outlined below.

Rounded Corners using border-radius

I used this method to create the rounded tab navigation on Next Step Living. It’s well supported by browsers, and can be used in Firefox 3.5, Safari and Chrome. If you need functionality in IE check out the Curved Corner project.

div .rounded { -webkit-border-radius : 3px ; -moz-border-radius : 3px ; border-radius : 3px ; }

Enter fullscreen mode

Exit fullscreen mode

Inner shadow using box-shadow

This one works great with images, or just plain text. It’s well supported by the usualy suspects, but isn’t currently supported in IE.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.