Exclusive Page > CSS Tricks

 

Tips, Tricks, and Techniques on using Cascading Style Sheets.

Category: Technology

  • Upping Your Type Game

    The ultimate primer on web type for web developers by Jessica Hische.

    Direct Link to ArticlePermalink


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Upping Your Type Game is a post from CSS-Tricks

    ..

    Details: http://jessicahische.is/talkingtype

  • Just One of Those Weird Things About CSS: Background on

    So you want to make the background of your website red eh? You'll probably put this in your CSS:

    body { background: red; }

    Done!

    Check out this Pen!

    You're going about your business and then all the sudden one day this happens:

    Check out this Pen!

    What in the heck? Why is the red cut off like that? I put red as the background color on the body?

    You did, but the fact that that red color floods the …


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Just One of Those Weird Things About CSS: Background on <body> is a post from CSS-Tricks

    ..

    Details: http://css-tricks.com/just-one-of-those-weird-things-about-css-background-on-body/

  • This Website Brought To You By…

    I always wanted to write something on all the technologies that a website relies on in order to have been created and work. My attempts have so far failed because it spirals out of control so quickly. Kevin Kelly sums it up:

    A web page relies on perhaps a hundred thousand other inventions, all needed for its birth and continued existence. There is no web page anywhere without the inventions of HTML code, without computer programming, without LEDs or cathode …


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    This Website Brought To You By… is a post from CSS-Tricks

    ..

    Details: http://www.kk.org/thetechnium/archives/2007/03/bootstrapping_t.php

  • Logic in Media Queries

    Just in case you have brain farts about this constantly like I do.

    If

    That's what media queries are: logical if statements. "If" these things are true about the browser, use the CSS inside.

    And

    The keyword and.

    @media (min-width: 600px) and (max-width: 800px) { html { background: red; } } Or

    Comma separate.

    @media (max-width: 600px), (min-width: 800px) { html { background: red; } }

    Technically these are treated like to separate media queries, but that is effectively …


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Logic in Media Queries is a post from CSS-Tricks

    ..

    Details: http://css-tricks.com/logic-in-media-queries/

  • CSS-Tricks Chronicle XIII

    > go east > You see a beautiful grassy field. > set up camper > You camper is now set up [roundtime: 18 seconds] > sit down


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    CSS-Tricks Chronicle XIII is a post from CSS-Tricks

    ..

    Details: http://css-tricks.com/css-tricks-chronicle-xiii/

  • Prepros

    Is an open-source app modeled after CodeKit. Prepros runs on Windows where CodeKit is Mac only. From people who have tried it, it seems good.

    Direct Link to ArticlePermalink


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Prepros is a post from CSS-Tricks

    ..

    Details: http://alphapixels.com/prepros/

  • Chrome’s requestAutocomplete()

    Auto-filling forms is nice because it saves time and is less prone to user error. Even better is not even needing to see a form in the first place.

    Direct Link to ArticlePermalink


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Chrome’s requestAutocomplete() is a post from CSS-Tricks

    ..

    Details: http://blog.alexmaccaw.com/requestautocomplete

  • Replace the Image in an with CSS

    The following is a guest post by Marcel Shields. Marcel in a difficult place where he needed to change the image on a page but didn't have access to the HTML. Rare, but I'm sure we've all be in weird situations like this. He explains how he managed to replace that image without needing to access the HTML or JavaScript. Also turns out to be a pretty good way to replace anything with an image.

    I just wanted to …


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Replace the Image in an <img> with CSS is a post from CSS-Tricks

    ..

    Details: http://css-tricks.com/replace-the-image-in-an-img-with-css/

  • Slider with Sliding Backgrounds

    Among the many super nice design features of the Yahoo! Weather app for iOS is the transition between city screens. The background image doesn't just move away as the screen moves from one screen to the next, the background image itself slides. It appears to be hiding some of the "old" screen and revealing more of the "new" screen those closer you have it to being in full view.

    Let's try and pull it off on the web.

    The HTML


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Slider with Sliding Backgrounds is a post from CSS-Tricks

    ..

    Details: http://css-tricks.com/slider-with-sliding-backgrounds/

  • Photo Swivel

    The following is a guest post by Alex Young (@the_alexyoung). Alex has created a simple technique to "rotate" the subject of a photo simply by hiding and showing multiple stacked photographs taken at different angles. Enjoy!

    Web designers and developers have always fascinated us with fun and engaging ways we interact with their websites. I love discovering new techniques that these designers/developers have come up with. One technique in particular that sparked my interest is something that I …


    jQuery Conference Portland 2013 has a limited number of regular tickets still available. Two days. Two tracks. Fresh speakers. Jun 13-14. $50 off for members of the jQuery Foundation. Join today and get your first year of fan dues paid for with purchase of both a training and conference ticket. Training provided by Bocoup on Jun 12. Use coupon code CSSTricks25off for $25 off.


    Photo Swivel is a post from CSS-Tricks

    ..

    Details: http://css-tricks.com/photo-swivel/