/* anything but * followed by / */ \n \r\n \r \f space \t newline 0-9 a-f or A-F \ not newline or hex digit hex digit 1-6 times whitespace whitespace <whitespace-token> -- - a-z A-Z _ or non-ASCII escape a-z A-Z 0-9 _ - or non-ASCII escape <ident-token> ( @ <ident-token> # a-z A-Z 0-9 _ - or non-ASCII escape " not " \ or newline escape \ newline " ' not ' \ or newline escape \ newline ' <ident-token "url"> ( ws* not " ' ( ) \ ws or non-printable escape ws* ) + - digit . digit digit . digit e E + - digit <number-token> <ident-token> <number-token> % <!-- --> <whitespace-token> <CDC-token> <CDO-token> Qualified rule At-rule <whitespace-token> Qualified rule At-rule <at-keyword-token> Component value {} block ; Component value {} block ws* Declaration ; Declaration list At-rule Declaration list <ident-token> ws* : Component value !important ! ws* <ident-token "important"> ws* Preserved token {} block () block [] block Function block { Component value } ( Component value ) [ Component value ] <function-token> Component value )
W3C

CSS の構文 — CSS Syntax Module Level 3

2016 年 12 月 15 日付 編集者草案

このバージョン
https://drafts.csswg.org/css-syntax/
最新発行バージョン
https://www.w3.org/TR/css-syntax-3/
以前のバージョン
https://www.w3.org/TR/2014/CR-css-syntax-3-20140220/
https://www.w3.org/TR/2013/WD-css-syntax-3-20131105/
https://www.w3.org/TR/2013/WD-css-syntax-3-20130919/
テスト一式
http://test.csswg.org/suites/css-syntax-3_dev/nightly-unstable/
編集
Tab Atkins Jr. (Google)
Simon Sapin (Mozilla)
最新の課題
GitHub Issues
Copyright © 2016 W3C® (MIT, ERCIM, Keio, Beihang). W3C liability, trademark and document use rules apply.

謝辞

次の方々からのフィードバックと貢献に:

Thanks for feedback and contributions from Anne van Kesteren, David Baron, Henri Sivonen, Johannes Koch, 呂康豪 (Kang-Hao Lu), Marc O’Morain, Raffaello Giulietti, Simon Pieter, Tyler Karaszewski, and Zack Weinberg.

適合性

【 この節の内容は CSS 日本語訳 共通ページ に委譲 】

参照文献

文献(規範)

[CSS-COLOR-3]
CSS Color Module Level 3
https://drafts.csswg.org/css-color-3/
[CSS-FONTS-3]
John Daggett. CSS Fonts Module Level 3.
http://dev.w3.org/csswg/css-fonts/
[CSS-PAGE-3]
CSS Paged Media Module Level 3
https://drafts.csswg.org/css-page-3/
[CSS-VALUES-3]
Tab Atkins Jr.; Elika Etemad. CSS Values and Units Module Level 3. 29 September 2016. CR.
https://www.w3.org/TR/css-values-3/
[CSS-VARIABLES]
Tab Atkins Jr.. CSS Custom Properties for Cascading Variables Module Level 1.
http://dev.w3.org/csswg/css-variables/
[CSS21]
Bert Bos; et al. Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification. 7 June 2011. REC.
https://www.w3.org/TR/CSS2
[CSS3CASCADE]
Elika Etemad; Tab Atkins Jr.. CSS Cascading and Inheritance Level 3.
https://drafts.csswg.org/css-cascade-3/
[ENCODING]
Anne van Kesteren. Encoding Standard. Living Standard.
https://encoding.spec.whatwg.org/
[INFRA]
Anne van Kesteren; Domenic Denicola. Infra Standard. Living Standard.
https://infra.spec.whatwg.org/
[MEDIAQUERIES-4]
Florian Rivoal; Tab Atkins Jr.. Media Queries Level 4.
https://drafts.csswg.org/mediaqueries-4/
[SELECT]
Tantek Çelik; et al. Selectors Level 3. 29 September 2011. REC.
https://www.w3.org/TR/css3-selectors/
[SELECTORS-4]
Selectors Level 4
https://drafts.csswg.org/selectors-4/
[UNICODE]
The Unicode Standard.
http://www.unicode.org/versions/latest/

文献(参考)

[CSS-ANIMATIONS-1]
CSS Animations Module Level 1
https://drafts.csswg.org/css-animations-1/
[CSS-COLOR-4]
Tab Atkins Jr.; Chris Lilley. CSS Color Module Level 4.
https://drafts.csswg.org/css-color/
[CSS-CONDITIONAL-3]
CSS Conditional Rules Module Level 3
https://drafts.csswg.org/css-conditional-3/
[CSS-TEXT-DECOR-3]
Elika Etemad; Koji Ishii. CSS Text Decoration Module Level 3.
http://dev.w3.org/csswg/css-text-decor-3/
[CSS-TRANSFORMS-1]
Simon Fraser; et al. CSS Transforms Module Level 1.
http://dev.w3.org/csswg/css-transforms/
[CSS22]
Bert Bos. Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification.
http://dev.w3.org/csswg/css2/
[CSS3-ANIMATIONS]
Dean Jackson; et al. CSS Animations. 19 February 2013. WD.
https://www.w3.org/TR/css3-animations/
[CSS3-CONDITIONAL]
David Baron. CSS Conditional Rules Module Level 3. 4 April 2013. CR.
https://www.w3.org/TR/css3-conditional/
[CSSOM]
Simon Pieters; Glenn Adams. CSS Object Model (CSSOM).
https://drafts.csswg.org/cssom/
[HTML]
Anne van Kesteren; et al. HTML Standard. Living Standard.
https://html.spec.whatwg.org/multipage/
[MEDIAQ]
Florian Rivoal; et al. Media Queries. 19 June 2012. REC.
https://www.w3.org/TR/css3-mediaqueries/

索引

【 この節の内容は省略(ウィンドウ下端の索引機能を利用されたし)。 】