CSS Identifiers and Classes

— How we select elements for applying styles is called a selector. Until now, we have selected elements by tag name. — Well, yes, we specified, for example, h1 or p and then listed CSS properties....

March 10, 2021 · 4 min · Coderslang Master

CSS, Flexbox Gap

In 2021 appeared a new CSS trick which is called the flexbox gap. This property is borrowed from Grid CSS and is called grid-gap. The gap is used to create space between cells....

March 2, 2021 · 2 min · Coderslang Master

How to add a comment in CSS

Just link in plain HTML, you can add comments to the CSS files. Maybe you want to leave a note for yourself, or maybe you want to help your colleagues sort out some difficult points....

March 1, 2021 · 1 min · Coderslang Master

External CSS stylesheet

Using the <style> tag, you can add styles for a single HTML document. These are internal styles. They will be applied to all content on the page. But only one page....

February 28, 2021 · 3 min · Coderslang Master

Internal CSS stylesheet in the HTML document

— You already know how you can add styles to a specific element. For example, you know how to change the color of the text inside the <p> tag. But what if we need to do this for several tags of the same type?...

February 27, 2021 · 3 min · Coderslang Master

Introduction to CSS for beginners

CSS stands for Cascading Style Sheets. It’s responsible for all the beauty on the screen: fonts, colors, backgrounds, text formatting, and even animation. Using CSS, you can change the position of HTML elements relative to each other or fix them at some point on the screen....

February 26, 2021 · 3 min · Coderslang Master