CSS
Shorthand properties (background)

by Benny Neugebauer

.class {
  background-color: #C9DF8A;
  background-image: url("images/corner.jpg");
  background-position: top right;
  background-repeat: no-repeat;
}

.class {
  background: #C9DF8A url("images/corner.jpg") no-repeat top right;
}

But I would write the color in lower case :) #c9df8a

Lipis

You savage! :D

Philipp Christoph

Sign in to comment!