1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Web Design' started by Daisysiegal, Jan 8, 2013.

  1. Daisysiegal

    Daisysiegal BANNED BANNED

    Joined:
    Jan 22, 2012
    Messages:
    204
    Likes Received:
    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!
     
  2. marcgenesis

    marcgenesis Junior Member

    Joined:
    Jul 29, 2010
    Messages:
    175
    Likes Received:
    60
    Location:
    Quebec, Canada
    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
     
    • Thanks Thanks x 2
  3. ijof9

    ijof9 Power Member

    Joined:
    Mar 27, 2010
    Messages:
    536
    Likes Received:
    594
    Occupation:
    CTO
    Location:
    Western Europe
    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)
     
    • Thanks Thanks x 1