CSS is used to define how elements on web pages look, and can be used to define the styling of everything from layout to typography and colors. It’s an abbreviation for Cascading Style Sheets, which refers to the priority scheme which governs how CSS code gets applied to elements.

This is an example of a CSS code block:

p {
	color: red;
	font-size: 16px;
	margin-bottom: 20px;

This code block consists of the element selector, “p”, the declaration block indicated by opening and closing curly brackets, and the properties defined within them. The element selector matches a HTML element. In this case, the “p” selector matches a HTML text paragraph element. The properties within the curly brackets set the color, the text size and the bottom spacing of the paragraph element.

In WordPress, CSS is primarily used by themes to define the layout and styling of your website. You can add your own CSS styles to your website by using the WordPress customizer, which has a Additional CSS panel that allows you to add custom styles.

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.