Tutorials » CSS(3)

Easy multiple CSS-Borders - Cover

Easy multiple CSS-Borders

Published by David on 15. August 2010

I would say all of you know the normal CSS-Border which creates a normal 1 pixel thick border around the (HTML) object.A few months ago I read on Nettuts+ how to create multiple borders with simple CSS and today some addtional ways came in my mind how to create such more borders without adding unnecessary markup with simple CSS.(Note: The example is based on the Nettuts+ example) This example is based on HTML5 and CSS3.In the CSS I added comments which represents the order of the CSS borders.Number 1 is the most inner border and it goes up to 4...

View whole tutorial »
Create a CSS and SVG powered, real looking Map - Cover

Create a CSS and SVG powered, real looking Map

Published by David on 01. September 2010

Scalable Vector Graphics, short SVG, are powerful XML based vector graphics. Unfortunately SVG isn’t 100% supported by all browsers, but the most modern browser support the most things, except the Internet Explorer (what a coincidence!). You could get an clear overview on caniuse.com of the SVG-browser-support. If you combine the power of CSS and SVG you could create awesome effects like a 3D looking maps without plugins, when your browser support it. I created the map with Firefox 3.6, but it works also ongoing with Firefox 3.5 (Gecko 1.9.1). Sadly I don’t get it work in WebKit, it seems to...

View whole tutorial »
Create a CSS3 based rabbit - Cover

Create a CSS3 based rabbit

Published by David on 13. October 2011

CSS3 brings many new features to the browsers and just to name 2 of them are border-radius and CSS gradients. The most modern browsers supports these properties already so let's take a look what's already possible with them. Create the HTML5 markup That simple HTML markup has it's own div-element for each part of the rabbit we will try to create with CSS3. The important part: CSS(3) First we reset the whole document to zero padding and margin and set then a white background-color to the body. Afterwards we set the width of the container to 300px and center it. Now we set the property...

View whole tutorial »