SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member Jacob.3336's Avatar
    Join Date
    Nov 2012
    Location
    California
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool CSS3 Conditions?

    I have heard with CSS3 there is a way to run some style properties when a condition is true. Does anybody know how to do that?

  2. #2
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,117
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    What type of condition?

    Media queries allow you to specify conditionally based on some properties.
    @supports rules will also be available very soon. Firefox / Opera / webkit have some support.

    http://dev.w3.org/csswg/css3-conditional/
    http://dev.opera.com/articles/view/n...supports-rule/


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •