Learn how to comment out CSS code, what to watch out for, and how to not have it slow down the performance of your web pages.
Category: CSS
Do HTML Comments Affect Performance?
Leaving comments in your HTML documents makes it easier to edit and debug your code. But does it also have a negative effect on the speed of your website?
Is CSS Harder Than HTML?
Wondering if writing CSS style sheets is harder than HTML markup? We have the answer for you, and more.
Should CSS Classes Be Capitalized?
Everything you need to know about naming your CSS classes and ids so your CSS code is easy to read, evolove, and maintain.
How to Use CSS With PHP
Learn about the different ways to add Cascading Style Sheets (CSS) to your website using PHP—with code samples.
Is There an Alternative to CSS in Web Development?
Wondering whether there’s an alternative to the Cascading Style Sheets (CSS) standard? Here’s everything you need to know.
Why Is My CSS Property Crossed Out?
Wondering why the CSS property you just wrote is crossed out in the CSS pane of your browser’s dev tools? This guide will help.
Are Semicolons Needed in CSS?
If you’re wondering whether and when semicolons are needed in CSS, we’ve written this guide to help.
The Difference Between CSS and SCSS
Learn about the difference between Cascading Style Sheets and “Sassy” Style Sheets, and extension of the CSS language.
How to Indent HTML Lists
Learn how to add indentation to your HTML lists with the margin and padding CSS properties.
Font-Weight: Bold in CSS Not Working
However hard you try, you just can’t get to make that text bold? Good thing you stopped by here; we have tips for you.
How Much CSS Is Too Much?
Let’s talk about Cascading Style Sheets (CSS) performance, and the dos and don’ts of writing CSS that doesn’t slow your site down.
Text-Decoration: None in CSS Not Working
However hard you try, you just can’t get to remove the underline from your links? Good thing you stopped by here; we have tips for you.
The .class Selector in CSS, Explained
Learn everything you need to know about the .class selector in Cascading Style Sheets (CSS).
The #id Selector in CSS, Explained
Learn everything you need to know about the #id selector in Cascading Style Sheets (CSS).
Is CSS Hard to Learn?
Why Cascading Style Sheets (CSS) is easier to learn than most people think. And why it’s quite hard to master.
How to Prevent CSS Caching (3 Ways)
Learn about the best ways to prevent your browser from caching your website’s CSS files locally.
How to Prevent CSS Override
Having trouble with other CSS rules overriding yours? Here’s why this is happening—and what you can do about it.
How to Check If a CSS Class Exists
Learn how to check for the existence of a CSS class in your HTML document or for a particular DOM element.
Why Is CSS So Hard?
Many web developers find Cascading Style Sheets (CSS) hard. So let’s talk about what you need to know to make it easy.
Is CSS a Programming Language?
When you write CSS, do you write code or do you program an application? Here’s why the answer isn’t a clear-cut yes or no.
What Is the Em Unit in CSS?
Wondering what the em unit in CSS stands for, and how you’re supposed to use it? This guide will help.
The Difference Between Bootstrap and CSS
Learn about the difference between CSS, the style sheet language, and Bootstrap, by far the most popular CSS framework.
What to Do If Your CSS Isn’t Updating
So you’re editing your website’s CSS, but the CSS style sheet just won’t update? This five-step checklist will help.
The Best Books to Learn CSS3
These books about CSS3 will help you become the web designer you were meant to be.
How to Stop Safari From Auto-Zooming on Input Fields
No more zooming, no more problems. Here’s how to prevent Safari from auto-zooming on forms on iPhone.
The Simple Guide to Complex CSS Selectors
Stop guessing and start styling: In a world of complex CSS selectors, this guide makes finding the right one simple.
The Guide to Custom Attribute Selectors in CSS
This guide will help you master custom attribute selectors in CSS, no matter the use case.
Make iFrame Fit 100% of Remaining Height
Two ways to make an iframe take up 100% of the remaining space of the browser window.
Line Height of ::before Pseudo-Elements in CSS
How to set a different line-height for your ::before pseudo-element without altering that of the original element.
What Is the sr-only Utility Class In Bootstrap For?
Everything you need to know about the sr-only utility class, an important web accessibility feature of Bootstrap.
Removing the Underline From Links in HTML
How to use CSS to remove the underlines from all links, groups of links, or specific links in your HTML document.