Forcing Line Breaks with CSS
Prevent lines of text such as long URLs from overflowing by forcing a line or word break.
BEM CSS Methodology Example
A few code snippets demonstrating how to use the BEM methodology for CSS.
CSS Parallax Background Image
A small code sample showing how to use a fixed background attachment to create a parallax effect.
CSS Background Property Shorthand
A few code examples showing how to use the shorthand notation for the background property.
A couple code samples showing different ways to add and select elements via data attributes.
Code sample showing how to format fetch request headers to send a token with a request.
Copy a File from One Branch to Another Using Git
A git command that will allow you to move a version of a file from one branch to another.
CSS Animation Property Shorthand
A few code examples showing how to use the shorthand notation for the animation property.
How to Override Inline CSS Styles
Code snippet showing how to override inline styles using CSS.
Text Shadows with CSS
Code snippet showing how to add shadows to text using CSS.
Add a Favicon to Your Website
A small code snippet demonstrating how to add a favicon to your website.
Sticky Items with CSS
Two code samples showing how to use the sticky value of the position property.
Prevent a function from being called too many times using a debounce function.
Gradient Underline with CSS
CSS code sample for creating a gradient colored underline for a word or sentence.
How to Use the CSS Calc Function
A couple examples demonstrating how to use the CSS calc function in CSS and SCSS.
CSS Transition Property Shorthand
A few code examples showing how to use the shorthand notation for the transition property.