• CSS Counters: counter-increment and Friends

    Posted: 3 days ago in Tutorials

    The CSS2.1 spec introduced a new technique allowing developers to combine three CSS properties and a pseudo-element to create auto-incrementing counters – similar to what is displayed in an ordered list.

    While counters for lists are limited to <ol> or <ul> elements and only with simple incrementation, the new counter method introduced in CSS2.1 allows for integers to be prepended to any set of elements, and is quite flexible.

    This technique is a bit confusing because it uses multiple CSS properties, and looks different than most CSS code. I hope to clarify how it’s used and I’ll run down some possible ways it can be implemented, along with some benefits and drawbacks…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • CSS3 Playground

    Posted: 3 weeks ago in Tools

    A handy online tool for playing around and experimenting with CSS3…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • CSS Media Query for Mobile is Fool’s Gold

    Posted: 4 weeks ago in Articles

    Unfortunately, CSS media query is fool’s gold for mobile devices. It hides tough problems and gives developers a false promise of a simple solution for designing to multiple screens…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • CSS3 Border-Radius & Rounded Avatars

    Posted: 4 weeks ago in Code

    Originally when I CSSed the round avatars on the DesignSwap comments area, I used the -webkit-mask-image property. I was really proud of how neat and effective this was until I realized you could apply border-radius to an image directly. To achieve a round avatar with a 2px beige border, I applied the following CSS to an avatar loading within a div class called avatar-frame…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • Start Experimenting With CSS3 Keyframe Animations

    Posted: 1 month ago in Tutorials

    CSS3 animations are the new kid on the block. It’s a big step. Although they haven’t really taken centre stage yet as only the webkit browsers support them.

    For this reason they’re used sparingly, in a lot of cases for experimental purposes or as ‘hidden gems’, but that doesn’t mean you should shy away from getting stuck in…

    VN:F [1.9.3_1094]
    Rating: +2 (from 2 votes)
  • CSS Run-in Display Value

    Posted: 1 month ago in Tutorials

    CSS has a value for the display attribute called run-in. It allows a header to run into text below it, without sacrificing semantics or running into the problems you might run into trying to force it with other layout techniques…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • 10 Awesome CSS3 Buttons

    Posted: 1 month ago in Code

    10 awesome and beautiful buttons with CSS3 for you! There are buttons for every kind of website and I think that you will love them! Feel free to use them everywhere…

    VN:F [1.9.3_1094]
    Rating: +2 (from 2 votes)
  • Word-Wrap: A CSS3 Property That Works in Every Browser

    Posted: 1 month ago in Tutorials

    Okay, this is not exactly the kind of CSS property that’s going to be used in every design. But it is a very useful one when you need it, and some might say it’s much more practical than some of the fluffy new CSS3 features like transitions and whatnot.The property I’m talking about is the CSS3 word-wrap property, and believe it or not, it works in every single browser, including all versions of IE. In fact, it was even supported as far back as IE5…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • Understanding CSS3 border-image

    Posted: 1 month ago in Tutorials

    The new CSS3 property border-image is a little tricky, but it can allow you to create flexible boxes with custom borders (or drop shadows, if that’s your thing) with a single div and a single image. In this article I explain how the border-image shorthand property works in today’s browsers…

    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  • Semantically Correct Website Logos

    Posted: 1 month ago in Tutorials

    How to mark up your website logo has always been a really controversial topic on the web. There are literally hundreds of articles about the topic and, well, this is another one…

    VN:F [1.9.3_1094]
    Rating: +1 (from 1 vote)
Page 1 of 6712345102030...Last »