Course Content
Building an NFT Website (JavaScript)
0/4
Deep Into Git and Github
0/2
HTML, CSS, and Javascript Course for Web Developers
About Lesson

What is CSS?

Cascading Style Sheet beautifies your web pages after writing the HTML. See the image below for before and after the CSS application.

Before CSS 

After CSS

 

One method is to utilize the style property on an HTML element, which we’ve previously covered in earlier lessons:

CSS is used to establish styles for your web pages, such as design, layout, and display variants for various devices and screen sizes.

Loading
 
Let’s break down the preceding example. CSS files include a series of rules, each of which consists of a selector (to identify which elements you are attempting to edit), followed by a declaration block with a number of properties and their values.
 
 
There is a nested.”style” HTML element here. As seen in the example above, “style” may be used to put CSS rules into an HTML page. In theory, this is an excellent technique to add CSS styling to your web pages, but in practice, it would be best to split content structure and styling into distinct files. CSS 101: Let’s go back to the basics.

Don’t worry at all; you will learn this in future lessons.

0% Complete