Using CSS’s Background Property

CSS’s background property actually covers a whole lot of other properties, meaning that the background property is actually sort of all-inclusive and will take up to 8 values. The background property shorthand covers the background-color (for when you want to define a […]

Read Article

How to Override Inline CSS Styles

One of the most frustrating aspects of working with old code is the inline styling that can’t be overridden with CSS. Usually, this means spending a significant amount of time combing through old (hopefully not unorganized) code to manually delete […]

Read Article

Using CSS3’s CurrentColor Value

CSS’s CurrentColor value is a way to assign a pre-defined color to all of the CSS properties that take color values. All you need to do is define the color of a certain selector like you normally would:

< View plain […]

Read Article

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