CSS vs. CSS3....in Word Press?

Daisysiegal

BANNED
Joined
Jan 22, 2012
Messages
204
Reaction score
16
Hi all

Had a question i am struggling with.


Is there a difference between writing CSS and CSS3 Code?


I'm starting with wordpress...and trying to learn how to ROUND CORNERS in my basic page...but having trouble with rounded corners. I saw some code written in css3 and tried to use it but it didn't work.


I thought maybe there might be a conflict between using WP and "WHICH STYLE OF CSS" I should use?


Your constructive input is greatly appreciated.


thank you!
 
There is no difference between writing CSS and CSS3 stylesheets. CSS3 adds more features like rounded corners, but what really makes a difference is the browser interpreting the stylesheet.

When you change your CSS, hold shift and click refresh on your browser to make sure it doesn't use the cache of your page so you can see your changes.

Typed on a tiny keyboard using Tapatalk
 
border-radius is part of the CSS3 specification. wordpress or not, it doesn't matter.

you can find a browser compatibility table here:
http://caniuse.com/border-radius

I'm not up-to-date with full browser support but earlier last year I used to do it like this:
Code:
.rc10 { 
-moz-border-radius:10px; 
-webkit-border-radius:10px; 
-khtml-border-radius:10px; 
border-radius:10px 
}

you can also try http://border-radius.com/ (border radius generator)
 
Back
Top