css tip #1 - the border shorthand property

Some say that CSS is the hardest language to learn and use correctly. It is the engine behind the style. Envision what you want and write CSS to render it.

The border properties, there a lot of them, chiefly deal with width, style, and color. They style the border around an element.

Try the border shorthand property to get all 3 properties into one property.

p {

border: 200px groove #d2591e;

}

This will create a unique 200px thick groove brown/red border around an element, like such:

Patrick Farrell

Director of Strategy/Operations, Janitor, Graphic Designer & Contributing Writer - The Bare Magazine

Next
Next

GEO