Using CSS3’s Opacity Property

With CSS, any HTML element can become (slightly or completely) transparent. The opacity property controls how opaque an element is, and it takes values between 0 and 1. So if you have an image that you want to be slightly […]

Read Article

CSS Styles: Inline vs. Internal vs. External

Before you master CSS, you need to understand the different ways in which you can apply the CSS to your HTML. There are three basic ways to include style in your code: inline styling, internal stylesheets, and external stylesheets.

Inline styling […]

Read Article

Quick Tip: Using CSS3’s Border-Width Property

Most people probably use the shorthand when defining CSS’s border property, which is written as follows:

< View plain text >

css

div{
border: [border-width] [border-style] [border-color];
}

But what some developers may not know is that the border-width property, the first property defined […]

Read Article

CSS3’s Background Property: the Shorthand

There are a lot  of different variations for CSS3’s background property that are used very often — especially when we’re working with a background that’s an image. Styling a background can result in the accumulation of several different lines of […]

Read Article

CSS3’s Color Property

I think it’s safe to say that almost every beginner developer knows that CSS’s color property is used to define the color of your HTML text elements. What many beginner developers might not know, however, is that the color property can […]

Read Article