Archive for July, 2010

  • Supersize that Background, Please!

    Posted: 2 years ago in Articles

    With an advertising world keen to use every inch of a medium for brand or product experience, it is becoming increasingly popular to design websites with full-browser backgrounds. Using CSS, this can be achieved quite easily. Just drop a huge background image in a page with one line of code. But which image size will be big enough? Monitors and operating systems have evolved quickly, and as a result there is a wide range of available screen resolutions.

    A better solution would be to scale the image to make it fit within different window sizes. Unfortunately, CSS 2.1 has no means of scaling background images. CSS3 backgrounds to the rescue…

    VN:F [1.9.13_1145]
    Rating: +1 (from 1 vote)
  • CSS Content Property

    Posted: 2 years ago in Tutorials

    CSS has a property called content. It can only be used with the pseudo elements :after and :before. It is written like a pseudo selector with the colon, but it’s called a pseudo element because it’s not actually selecting anything that exists on the page but adding something new to the page…

    VN:F [1.9.13_1145]
    Rating: 0 (from 2 votes)
  • CSS3 Chess Board

    Posted: 2 years ago in Tutorials

    I was browsing the web today and found something exciting. I noticed that there are unicode characters for chess pieces. Always looking for ways to play with CSS3 I decided to try and build a chess board using my new best friend :nth-child and some unicode characters…

    VN:F [1.9.13_1145]
    Rating: +2 (from 2 votes)
Page 2 of 212