Home > Article > Web Front-end > Detailed explanation of dreamweaver formatting CSS code
Today I discovered that Dreamweaver can format CSS code, so that the code will not be so messy. This is because when the website was revised, I found that the original CSS code was very inconsistent in capitalization, formatting and indentation. Formatting with Dreamweaver is much easier.
Format CSS:
Step 1: In Edit--Preferred Parameters--Code Format--Select the CSS button--Set your favorite CSS code format
Step 2: Click Command--Apply Source Format
Case conversion:
Step 1: Select the code part that needs to be converted
Step 2: Right-click--Selected area--Convert to uppercase/lowercase
I personally prefer to convert uppercase to lowercase like this:
Put the document that needs to be converted into the editplus editor, select Edit--Change Case
The above is the detailed content of Detailed explanation of dreamweaver formatting CSS code. For more information, please follow other related articles on the PHP Chinese website!