CSS :root Selector

Setting the background color for the HTML document using :root selector in CSS.

The :root selector in CSS is a pseudo-class that selects the root element of an HTML document, which is always <html> element. In other words, the :root pseudo-class selects the first element in the document. However, you do not use…

Read MoreCSS :root Selector

Data Types in PHP

PHP data types: Scalar, Compound, and Special data types.

Data types are one of the most fundamental concepts in PHP, as well as in any other programming language. They define how the language stores the different kinds of data. When you write a program in PHP, you may need…

Read MoreData Types in PHP