CSS Basics

This is the CSS Basics section of Impressive Webs. The articles in this section will cover basic topics for CSS beginners. These articles will not appear in the main home page feed. To get updates of new posts in this section, you can subscribe via RSS or get an email notification whenever a new post is added.

CSS Selectors Defined

on | 7 Comments

If you’re just getting started with CSS, it’s good to have a fundamental understanding of what we mean when we refer to CSS selectors. In this post I’ll briefly describe all the most well-known CSS selectors along with some examples.

What’s the Difference Between Classes and IDs in CSS?

on | 7 Comments

When applying CSS styles to an element in your HTML, you’ll be using different CSS selectors to target your elements.

Two of the most common selectors used in CSS are the “class” selector and the “ID” selector. There are many others, but this post will focus on these two, and I’ll describe the difference so you’ll know the potential effects of using either of these selectors.

The Difference Between “Block” and “Inline”

on | 9 Comments

For the purpose of CSS styling, elements can be generally divided into a few different categories. Two of those categories are block-level elements and inline elements.

In my opinion, this is one of those areas that, once understood correctly, can help beginners to take their CSS skills to the next level.

Using Absolute Positioning in CSS

on | 6 Comments

Positioning elements absolutely is a useful technique to be aware of. When used selectively, it can offer many more options for what might otherwise be troublesome layout options. Here I’ll discuss the basics, with some tips for use.