CSS Tips: Outline vs. Border

Screen Shot 2017-01-08 at 5.52.49 AM

In CSS3, an outline is a line that’s drawn around the outside of an element. Outlines are essentially the exact same thing as borders, they even have the same syntax in your CSS, but they differ in their placement. Borders [...]

Read Article

Margins Vs. Padding

Screen Shot 2016-10-31 at 12.51.45 PM

The difference between margin and padding is an important concept for new developers to grasp. While margin and padding both provide space in relation to elements, they do so in different ways. Padding provides space within the element, meaning that it [...]

Read Article

When to Use CSS !important

Despite the fact that it’s widely used, applying CSS3′s !important declaration to your stylesheets isn’t considered to be a best practice. The !important declaration is typically used to override style rules that are defined elsewhere in the CSS. For example, [...]

Read Article

Style Buttons Using CSS3

With CSS3, it’s super easy to take a boring, un-styled link, like this: 

and turn it into a beautiful, customized button, like this:

All it takes is a little bit of styling. To start, you’re going to need some basic <a> tags. [...]

Read Article