Articles/HTML & CSS
9 articles

HTML & CSS

HTML & CSS articles and tutorials ranging from new language features to using interesting packages.

Topics
Articles9 posts
Dec 5, 2016
HTML & CSS

Using CSS Transitions

CSS transitions are the standard way to apply transitions to your elements, and have been for years, replacing the old approach of using JavaScript. In this article, I'll go through each of the transition properties available, and provide examples of how to use them.

6 min read
Dec 4, 2016
HTML & CSS

Structuring Your Website With HTML 5 Semantics

Prior to HTML 5, there was no real markup to help explain the intent behind your HTML code. The goal of HTML 5 was to offer a more readable way of writing your code, so that any author that comes after you can have an easier time going through what you've created.

4 min read
Dec 3, 2016
HTML & CSS

Interpolation in Stylus

You can also use interpolation to improve your functions for reuse, as well as your other code within your stylesheet. The way it works is that you can wrap your expression within {}, which will then be outputted as the identifier.

2 min read
Dec 2, 2016
HTML & CSS

Creating Configuration Files In Stylus

It's super simple to create a configuration file for instance that would manage your media query break points. You could also use a configuration file for managing colors, font sizes, and other variables such as gutter spacing and more.

1 min read
Dec 1, 2016
HTML & CSS

Using Functions and Mixins with Stylus

Stylus allows you to create functions and mixins of reusable code for your stylesheets. You can also handle mathematical operations, unary operations, and more allowing you complete control over your stylesheets with ease.

4 min read
Nov 29, 2016
HTML & CSS

Setting Variables in Stylus

Unlike CSS, in Stylus you can assign expressions to variables that can be reusable throughout your stylesheets.

2 min read
Nov 28, 2016
HTML & CSS

Using Selectors in Stylus

Selectors are a way to pick the elements that you want styled. In Stylus, similar to CSS, you can apply a set of styles to any element by separating them by a comma delimited list. Stylus though, also allows you to select multiple elements by separating each on their own line.

5 min read
Nov 27, 2016
HTML & CSS

Learning Stylus: A CSS Pre-Processor

This mini-series will be a little different to how you may see other articles on my site. Really this article is more geared as notes for me as I go through the documentation for Stylus, and learn the ins and outs of this beautiful language.

1 min read
Nov 26, 2016
HTML & CSS

BEM Methodology Overview and Naming Conventions

BEM or Block Element Modifier is a naming convention used to help organize your code base. In this article, I discuss its uses within your CSS projects.

4 min read