🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

How to Make Text Bold in CSS

To make the text bold using CSS, you should use the font-weight property and then set the value to bold. A font-weight is a CSS property that will specify how thick the text should be....

June 4, 2021 · 1 min · Coderslang Master

What is the Difference Between HTML and CSS?

Both HTML and CSS are the key pillars of modern web development. Let’s learn what’s the main difference between the two. If you think of a human body, you will find, every one of us has a skeleton structure underneath flesh and skins....

May 28, 2021 · 2 min · Coderslang Master

How to Change the Color of the Text using CSS

To change the text color with CSS, you should use the color CSS property. The value for it can be provided using 3 main options: a name of the color — “red”, “green”, “blue” a HEX code that starts with the hashtag — “#00FF00”, “#121212” an RGB code that looks like this — “rgb(125, 20, 255)” Let’s use all three options to write CSS that changes the color of the headers h1, h2, and h3....

May 22, 2021 · 1 min · Coderslang Master

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

CSS (Cascading Style Sheets) is a style sheet language used for describing the presentation of a document written in a markup language. A style sheet is a collection of rules that tells a web browser how to display a document written in HTML or XML....

November 6, 2022 · 4 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