Using Min-Width and Max-Width in Your CSS

When you’re writing media queries to ensure that your designs are mobile-friendly and fully responsive, there’s a good chance that you’re defining your widths in percentages rather than other fixed units of measurements (pixels, ems, rems, etc). When you define […]

Read Article

CSS3’s Justify-Content Property

CSS3’s justify-content property is a really useful way to make space around the items within an element that has been defined as a flexible container.  Basically, it tells the elements within the flex container how much space should appear between […]

Read Article

Using CSS to Create Triangles

With CSS it’s super easy to create shapes out of pretty much any div. Some shapes are pretty straightforward to code, like squares and rectangles. Even circles are just squared with a border-radius set to 100%. Triangles, however, are a […]

Read Article

Color Values: How to Define a Color in CSS

There are many different scenarios in which you’d have to define a color in your CSS — this probably most commonly happens with the color or background-color property, but it’s certainly used with others as well. Defining your color values is the […]

Read Article

How to Style Your Cursor with CSS3

There are so many different ways to style your cursor using CSS3. Most developers probably know about cursor: pointer, but what about the dozens of other ways to have your cursor appear? What follows is a list of some of the […]

Read Article

How to Use CSS3’s Viewport Units

CSS3 has a really cool (and completely underrated) feature that allows developers to define the size of an element relative to the viewport. The units are vh (viewport height) and vw (viewport width), and they can be applied to elements […]

Read Article