How does Dreamweaver use the classes in the CSS selector? There are many features in the CSS selector in Dreamweaver, and how do you want to use the classes in it? Below we will take a look at the detailed tutorial, need friends can refer to, hope to help everyone.
1. Open the CSS style window and click New CSS Rule.
2. Select "Class" in the CSS selector in the pop-up dialog and name it in the selector, but you must precede it with a point, such as. ys1
3. Define the required attributes in the popup CSS Rule Definition dialog box, such as font size and color.
4, in the header information in the code more than one. ys1 CSS style code, but this is just a new style, not yet applied to the page.
5. Select the text you want to use for this style, and select it directly in the class of the attribute. Ys1.
6, so the text changes, a class is formally applied to the Web page.