 
        CSS 基础训练 1
课程视频链接: CSS Essential Training 1 @ LinkedIn Learning
1. Getting Started
- 
    Project overview and setup exercise图像占位符: Lorem Picsum 文字占位符: Meet the Ipsums 
- 
    Inline, internal, and external CSS
2. CSS Core
- 
    Syntax, terminology, and naming conventionsCSS Reference:Codrops 
- 
    Type, class, and id selectors元素选择器(h1),类选择器(.example),ID 选择器(#example) 
- 
    Pseudo-class selectors
- 
    RGB, hex, and keyword color valuesColor Resource 1:Colours Color Resource 2:Coolors.co Color Resource 3:random a11y 
- 
    Practicing with selectors and colors
- 
    Cascading, inheritance, and specificitySpecificity Reference 1:CSS Specificity Specificity Reference 2:Specificity Calculator 
3. Typography
- 
    Web-safe fonts and the font-family propertySerif, Sans-serif, Monospace, Cursive, Fantasy Font Resource 1:Web-safe fonts 
- 
    Web fonts and Google fontsFont Resource 2:Using font face Font Resource 3:Free font generator Font Resource 4:Google Fonts 
- 
    The font-size propertyfont-size设置文本的大小,值有 px, em, rem
- 
    Practicing with web fonts and font-size
- 
    The font-style and font-weight propertiesfont-weight设置文本的粗细,值有 normal, bold, lighter, bolderfont-style指定文本的字体样式,值有 normal, italic
- 
    The color, line-height, and text propertiescolor规定文本的颜色,值有 keyword, hex code, rgbline-height设置行间的距离,值有 px, %, ems, rems, unitlesstext-decoration规定添加到文本的修饰,值有 none, underline, overline, line-throughtext-transform控制文本的大小写,值有 none, capitalize, uppercase, lowercasetext-align规定元素中的文本的水平对齐方式,值有 left, right, center, justify
4. Layout
- 
    Block vs. inline display在布局中, display是最重要的 CSS 属性之一。常见的值有 none, block, inline 以及 inline-block
- 
    The Box ModelCSS盒模型本质上是一个盒子,封装周围的HTML元素,它包括:边距,边框,填充,和实际内容 
- 
    Margin and page layouts
- 
    Practicing layouts
- 
    Practicing with padding and spacing
- 
    Floatsfloat会使元素向左或向右移动,其周围的元素也会重新排列。使用clear清除浮动Self-Clearing Floats: 1)使用 overflowauto 或 hidden2)使用 clearfix清除浮动Reference:clearfix 
- 
    Practicing with floats图像处理:Pixlr 
- 
    The box model fixReference:Box Model Fix 
- 
    Practicing with columns