# css-learning **Repository Path**: zhangzanzan/css-learning ## Basic Information - **Project Name**: css-learning - **Description**: css学习 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-10 - **Last Updated**: 2024-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 一、简介 CSS(Cascading Style Sheets,层叠样式表),用于设置HTML标签的样式,它的基本结构如下:  # 二、引入方式 使用样式表主要有4种方式:**行内样式**、**内嵌样式**、**外链样式**、**导入式**。 ## 1、行内样式 * 是将 `style` 作为一个标签的属性,然后通过它的值来设置样式。写法如下: ```html
``` ## 2、内嵌样式 * 是将 `style` 作为一个标签,然后在标签内通过样式选择符设置样式。 ```html