Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Programming General (http://siteownersforums.com/forumdisplay.php?f=44)
-   -   Learn css in few minutes (http://siteownersforums.com/showthread.php?t=984681)

sahithya 08-30-2024 05:31 AM

Learn css in few minutes
 
CSS (Cascading Style Sheets) is a language used to style HTML elements. It controls how elements are displayed, including their layout, color, font, and more.

Here's a basic overview of how CSS works:

Selectors: These are used to target specific HTML elements. For example, p targets all paragraph elements, and .my-class targets elements with the class "my-class".
Properties: These are the attributes you want to set for the selected elements. Examples include color, font-size, background-color, and margin.
Values: These are the specific values you assign to properties. For instance, color: blue sets the color of the selected elements to blue.


All times are GMT -7. The time now is 11:13 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.