Category CSS

Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML or XML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.

How to disable text select with CSS?

Sometimes, we want to disable text select with CSS. How to disable text select, we’ll look at in this article with CSS. How to disable text select with CSS? To disable text select with, we set the user-select style to…

How to disable clicking inside div with CSS?

To disable clicking inside div, we set the pointer-events style to none with CSS. For instance, we can write div#foo { pointer-events: none; } to set the pointer-events CSS property to none for the div with ID foo. to disable…

How to embed fonts in CSS?

Sometimes, we want to embed fonts in CSS. How to embed fonts in CSS, we will look at in this article. How to embed fonts in CSS To embed fonts in CSS, we use the @font-face directive. For instance, we…