InternetUnicodeHTML Draft for Information Only
ContentAt-Rule
At-RuleAn at-rule is a CSS rule for the CSS engine instead of matching with the element tag. Therefoe the @rule can be used as a CSS statement to instruct how the CSS engine to behave. Syntax of At-RuleAn at-rule statement begins with an at sign, "@ (U+0040)", followed by a keyword identifier, and ends with a semicolon, "; (U+0030)" or the next CSS block "{⋯}". @identifier (rule);
Types of At-RuleThere are a few types of at-rule with different syntax according to the function.Regular At-RuleThe identifier is used to identify the function and the following rule is usually the corresponding value to be specified. The regular at-rule is specific CSS rule for initializing the CSS engine. List of Regular At-Rule
'@charset' 2.1to specify the character encoding of the style sheet itself Link: ./../../sideway/default.asp?qno=190400026 '@import' 1,2,2.1to specify those to be included external style sheets by importing Link: ./../../sideway/default.asp?qno=190400026 '@namespace' to specify the XML namespaces to be used in a CSS style sheet. Link: ./../../sideway/default.asp?qno=190400026 Nested At-RuleThe identifier is used to identify the function and the following rule can contain a subset of additional statements that may also be nested, is usually the corresponding value to be specified. The nested at-rule is a general CSS rule that can be used as a general style sheet statement and a rule set inside conditional group ruels. According to the nature of nested at-rule, teh nested at-rule can further be grouped into ordinary nested at-rule and conditional nested at-rule, also called conditional group rule. Ordinary Nested At-RuleThe ordinary nested at-rule is used as a ordinary specific CSS rule for CSS engine in CSS style sheet along with CSS rule set for elements. The identifier is used to identify the function and the following rule is usually the corresponding value to be specified. List of Ordinary Nested At-Rule
@font-face
An @font-face at-rule is used to specify the external font needed by the style sheet and nest the detailed information of the corresponding font in the additional
statement subset.
'@page' 2,2.1to specify some specific CSS rules for paged media. Link: ./../../sideway/default.asp?qno=190400027 @font-face {
font-family: 'WebFont';
Conditional Nested At-RuleList of Ordinary Nested At-Rule
@media
An @media at-rule is a media matching rule used to specify the nested subset of additional CSS statement according to the specified conditions.
'@media' 2,2.1to specify some CSS rules for specified media types conditionally Link: ./../../sideway/default.asp?qno=190400028 @media only screen and (max-width: 600px) {
©sideway ID: 190400025 Last Updated: 4/25/2019 Revision: 0 Ref: References
Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Reference 79 Computer Hardware 249 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 429 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019