DEV Community

CSS

Cascading Style Sheets (CSS) is a simple language for adding style (e.g., fonts, colors, spacing) to HTML documents. It describes how HTML elements should be displayed.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
How to set styles to a webpage if a user's device has a mouse connected using only CSS?

How to set styles to a webpage if a user's device has a mouse connected using only CSS?

5
Comments
2 min read
How to set styles to a webpage if a user's device has only a keyboard connected to it using CSS?

How to set styles to a webpage if a user's device has only a keyboard connected to it using CSS?

3
Comments
2 min read
How to add or change the outline color of the HTML elements when focused using the tab key in CSS?

How to add or change the outline color of the HTML elements when focused using the tab key in CSS?

3
Comments
3 min read
How to change the color or the accent color of the radio input HTML element on a webpage using CSS?

How to change the color or the accent color of the radio input HTML element on a webpage using CSS?

5
Comments
2 min read
How to check if a user's device has a touchscreen using only CSS?

How to check if a user's device has a touchscreen using only CSS?

5
Comments
2 min read
How to automatically apply light mode CSS styles to the website when the user's system theme is changed to light mode?

How to automatically apply light mode CSS styles to the website when the user's system theme is changed to light mode?

5
Comments
3 min read
Modifying an SVG path with CSS

Modifying an SVG path with CSS

28
Comments 3
2 min read
The CSS `accent-color` property explained

The CSS `accent-color` property explained

6
Comments 1
2 min read
[How to] add decorative content through CSS using pseudo-elements

[How to] add decorative content through CSS using pseudo-elements

3
Comments
1 min read
What is PyTorch? And why you should learn it?

What is PyTorch? And why you should learn it?

3
Comments
2 min read
[How to] use CSS Variables in React Component

[How to] use CSS Variables in React Component

14
Comments
1 min read
[CSS Tricks] : Changing the default box model

[CSS Tricks] : Changing the default box model

5
Comments
2 min read
Simple Project HTML, JavaScript, CSS

Simple Project HTML, JavaScript, CSS

5
Comments
4 min read
Do CSS framework users actually know CSS? We might have some data

Do CSS framework users actually know CSS? We might have some data

6
Comments 3
9 min read
A Complete Guide To CSS Container Queries

A Complete Guide To CSS Container Queries

4
Comments
21 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.