Using CSS shorthand


show more Using CSS shorthand provides you with in-depth training on Web. Taught by Justin Seeley as part of the CSS: Visual Optimization show less
please wait ...

Using CSS shorthand

In this movie we are going to be exploring something called CSS shorthand, and when you first read this, you might think that I am getting ready to show you some sort of magical trick to make your CSS writing a little bit shorter. And in fact I am going to show you a trick to make it a little bit shorter, but it is not necessarily something that you haven't seen before probably. But this might be something that you haven't really adopted into your workflow per se, so I want you to take a look at it and see if it makes sense to you. So what we are going to do, I am going to go up to the File menu and just create a new CSS document just a blank CSS document for now. And so what I want to do is just start typing out some sort of declaration, it doesn't matter what it is.

In fact, it could just be a plain old div, and once I do that, I am going to start typing some things out. So let's say normally, I would come in, and I would start defining things like margins and padding for this. S...

Using CSS shorthand
Video duration: 3m 47s 1h 11m Beginner

Viewers:

Using CSS shorthand provides you with in-depth training on Web. Taught by Justin Seeley as part of the CSS: Visual Optimization

Subject:
Web
Software:
CSS
Author:
please wait ...