1. The @charset "utf-8" declaration sets the character set of the document to UTF-8 encoding.

  2. The universal selector (*) is used to reset the margin, padding, and border properties for all HTML elements.

  3. The body element is styled with a specific font, font size, color, and line-height.

  4. The nav element is styled with a specific width, height, and background color. The individual list items within the nav element are floated to the left and given a specific width and height. The anchor links within each list item are styled with a specific width, height, background color, and font properties. When hovered over, the anchor links change their background color and font weight.

  5. The left and right elements are floated to the left and right, respectively. The left element is given a specific width, border, and padding. The individual list items within the left element are styled with a specific font size, line-height, and padding-left. The input elements within the left element are styled with a specific width, height, border, border-radius, and text-indent.

  6. The title02 element is centered on the page and styled with a specific width, margin, and font properties.

  7. The z1 element is styled with specific font properties and spacing. The paragraphs within the z1 element are indented and given a specific line-height, font size, and color. The anchor links within the z1 element are styled with a specific font size, color, and font weight. The headings within the z1 element are styled with a specific line-height and margin-bottom.

  8. The foot element is styled with a specific width, height, background color, and margin-top.

  9. The btn class is styled with a specific width, height, background color, font properties, and cursor. The bd class is styled with a specific width, height, border, and text-indent


原文地址: http://www.cveoy.top/t/topic/gD9w 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录