美文网首页
Css学习笔记

Css学习笔记

作者: 前端混合开发 | 来源:发表于2019-08-19 21:30 被阅读0次

Referenced:
CSS选择器,看这篇就够了

学习一个东西的第一件事:清楚概念!!

CSS Reference

An exhaustive reference for seasoned Web developers describing every property and concept of CSS.
一份用於描述CSS的每個屬性和經驗豐富的概念给web开发人员的详尽的参考。

A step-by-step introduction to help complete beginners get started. It presents all the needed fundamentals.

A collection of demos showing the latest CSS technologies in action: a boost for the creativity.

Describes the syntax and forms of the language: CSS的语法和形式 and introduces fundamentals like specificity and inheritance, 像特异性和继承,the box model and margin collapsing, stacking and block-formatting contexts, or the initial, computed, used, and actual values. Entities like CSS shorthand properties are also defined.

Box model:


Syntax

The basic goal of the Cascading Stylesheet (CSS) language is to allow a browser engine to paint elements of the page with specific features, like colors, positioning, or decorations.
CSS, 让browser给特定的元素加上特定的颜色,位置,或者一些别的修饰。
CSS Declarations声明



Both properties and values are case-sensitive in CSS. 冒号前后各加一个空格。

CSS Reference :https://developer.mozilla.org/en-US/docs/Web/CSS/Reference



CSS Rulesets
Each (valid) declaration block is preceded by one or more selectors which are conditions selecting some elements of the page.

the CSS standard defines which one has precedence over the other and must be applied: this is called the cascade algorithm.
CSS statements
css声明
There are different kinds of statements:
1. Rulesets (or rules) that, as seen, associate a collection of CSS declarations to a condition described by a selector.
2. At-rules that start with an at sign, '@' (U+0040 COMMERCIAL AT), followed by an identifier and then continuing up the end of the statement, that is up to the next semi-colon (;) outside of a block, or the end of the next block. Each type of at-rules, defined by the identifier, may have its own internal syntax, and semantics of course. They are used to convey meta-data information (like @charset or @import), conditional information (like @media or @document), or descriptive information (like @font-face).

相关文章

  • CSS学习笔记(2018-07-29)

    CSS学习笔记 CSS 指层叠样式表 (Cascading Style Sheets) CSS语法 CSS 规则由...

  • CSS入门学习笔记

    CSS学习笔记 CSS= 层叠样式表 cascading style sheets HTML 表达结构 , CSS...

  • 收集前端学习资料

    前端的一些学习资源 html和css代码规范 前端知识体系 前端网址大全 学习CSS布局 通用 CSS 笔记、建议...

  • CSS知识点整理

    写在前面:这是一篇学习CSS的笔记。重点在于罗列CSS的知识点。 CSS ㈠ CSS入门 什么是CSS?CSS 指...

  • 二、easyui笔记

    学习笔记一:jquery学习 Ceng coding的用法 Css速写:一般css样式都是开头简写+tab键补全,...

  • #css 全称为“层叠样式表”

    css 全称为“层叠样式表” 声明,本文为学习慕课网HTML+CSS中CSS笔记http://www.imooc....

  • HTML&CSS&JavaScript基本介绍

    本文内容为慕课网学习笔记。 CSS CSS样式类型 内联式css样式,直接写在现有的HTML标签中 嵌入式css样...

  • 5.CSS学习笔记第五节/列表

    CSS学习笔记第五节/列表 1.列表

  • CSS 自学笔记(中)

    传送门: CSS 自学笔记(上) CSS 自学笔记(中) CSS 自学笔记(下) 继承、层叠和特殊性 继承 CSS...

  • CSS 自学笔记(上)

    传送门: CSS 自学笔记(上) CSS 自学笔记(中) CSS 自学笔记(下) 1. 简介 CSS 是层叠样式表...

网友评论

      本文标题:Css学习笔记

      本文链接:https://www.haomeiwen.com/subject/cgfysctx.html