HTML+CSS easy-to-start selectors

Class selector is the most commonly used in css style coding

Syntax:

.Class selector name {

css style code;

}


Note:

1. English dots start

2. The name of the class selector can be named arbitrarily (but do not name it in Chinese)

Usage method:

1: Use the right label to mark the content to be modified

# & lt; div & gt; the great rejuvenation of the Chinese nation & lt;/div & gt;

## "Class selector name" sets a class for the label css style

.div{

css style

Continuing Learning
||
类选择器
中华民族伟大复兴
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!