List of all css properties and values pdf
File Name: list of all css properties and values .zip
Use this CSS reference to browse an alphabetical index of all of the standard CSS properties, pseudo-classes , pseudo-elements , data types , functional notations and at-rules. You can also browse key CSS concepts and a list of selectors organized by type. See the index of selectors , pseudo-classes , and pseudo-elements below.
The font length units are relative to the font-size property. Please note that these values cannot be used with elements for which a viewport, such as the root element, has not been established.
The pixel unit is relative to the de-facto standard of 96dpi or rather, 96 pixel per inch for compatibility with browsers. Below are the CSS selectors supported by Prince. Case-sensitivity of the attributes and values depends on the document language. To match values case-insensitively, the attribute selector may contain the identifier i before the closing bracket.
Default namespaces do not apply to attributes. Therefore a namespace ns that has been previously declared should be added before the namespace separator preceding the attribute name. Below are all of the media queries supported by Prince.
For their precise definition please refer to the Media Queries Level 4 specification. Media queries test how Prince is configured, rather than how the document is styled. The configuration of Prince often depends on the command-line arguments passed to it.
A Media Query is a method of testing certain aspects of the user agent or device that the document is being displayed in. The syntax consists of an optional media query modifier, an optional media type, and zero or more media features. A media type is a category of user-agent devices on which a document may be displayed. A more fine-grained way of targeting a specific device's exclusive aspects might be to use media features instead, or in addition.
Prince defaults to the media type print. However, note that the command-line option --media can be used to set a media type that media queries can test against. This can be convenient if the person running Prince knows in advance whether the PDF will be printed or viewed on the screen, such as might be the case for slideshows, or in case one might prefer the author's idea of what screen means.
A media feature is a more fine-grained way of targeting a specific user-agent. Media features use the same syntax as CSS properties.
However, there are some differences between the two:. Multiple media features may be combined into a media condition using full boolean algebra not , and , or. In this section you find the documentation for the supported CSS functional expressions. For additional details, make sure to also check the linked properties that use the functions.
Please note that this is very non-portable, as glyph indices are specific to individual font versions. But it is a possible escape hatch for people who need a specific glyph and don't have any other way of accessing it by Unicode character or OpenType substitution. Usually, authors should prefer to use named OpenType features, using the prince-opentype value of the font-variant property, which is more likely to work when changing font.
Prince accepts -prince as a vendor prefix for Prince-specific at-rules to comply with validators - eg. The following at-rules have to appear at the beginning of the CSS document, and exactly in this order:. After the initial at-rules, the following at-rules can appear also in nested form in the CSS document:.
In this section you find the documentation for the supported CSS features. Prince does not support properties that apply only to interactive media. For similar reasons, Prince does not support visibility: collapse. Prince does not support the armenian or georgian list styles.
Prince treats 1ex equivalently to 0. Please note that the initial value of widows and orphans has been changed from 2 to 1. It supports some of the extensions of the color property. Prince also provides a different interface to the functionality of the font-feature-settings property through the font-variant: prince-opentype function. It does not recognize the running or footnote-policy properties, but Prince provides a different interface to the functionality of footnotes see Footnotes.
CSS Page Floats - Editor's Draft Prince recognizes the properties float , float-reference and float-defer , but takes a different syntax. CSS Images Module Level 3 Prince supports the mandatory values of image-orientation , as well as the properties object-fit and object-position.
CSS Overflow Module Level 3 Prince supports the overflow property's behaviour as described in the Level 3 module, but does not support the 2-value syntax. CSS Text Module Level 3 Prince does not recognize line-break , text-align-all and hanging-punctuation , and it does not support the value break-word of the property word-break. CSS Transforms Module Level 1 Prince recognizes transform and transform-origin , but does not recognize transform-box.
Prince does not allow perspective transforms. Filter Effects Module Level 1 Prince supports the filter property. Selectors Level 4 Prince largely supports this module. Media Queries Level 4 Prince supports this module as of Prince Living Standards CSS Books Prince supports target counters, footnote floats, bookmarks labels, levels and states, the flow property and the string-set property. CSS Figures Prince largely supports the float extensions of the spec. Absolute length units cm centimeters mm millimeters q quarter-millimeters in inches pc picas pt points Font Length Units The font length units are relative to the font-size property.
Viewport length Units vw content area width vh content area height vmin the smaller length of vw or vh vmax the larger length of vw or vh pvw page width pvh page height pvmin the smaller length of pvw or pvh pvmax the larger length of pvw or pvh Pixel Unit The pixel unit is relative to the de-facto standard of 96dpi or rather, 96 pixel per inch for compatibility with browsers. Terminology and Definitions selector Can refer to a simple selector , compound selector , complex selector , or selector list.
It also takes the keywords odd and even. Logical Combinations Selector List E, F, G A comma-separated list of selectors represents all the elements selected by each selector of the list. The Matches-Any Pseudo-class E:matches s1 , s2 The matches-any pseudo-class represents an element E that is represented by the list of compound selectors it takes as argument.
The Negation Pseudo-class E:not s1 , s2 The negation pseudo-class represents an element E that is not represented by the list of compound selectors it takes as argument. The Relational Pseudo-class E:has rs1 , rs2 The relational pseudo-class represents an element E , if either of the relative selectors rs1 or rs2 , when evaluated with E as the :scope element, match an element. The Contains Pseudo-class E:contains foo The contains pseudo-class represents an element E containing the text foo.
Elemental Selectors Type tag name selectors E A type selector representing an element E in the default namespace. E A type selector representing an element E in no namespace. Attribute Selectors Case-sensitivity of the attributes and values depends on the document language.
Attribute presence and value selectors [att] An attribute selector representing an element with the att attribute. Class selectors E. Linguistic Pseudo-classes The language pseudo-class E:lang C The language pseudo-class represents an element E that is in the language C.
Input Pseudo-classes The input control states :enabled The :enabled pseudo-class represents user interface elements that are in the enabled state. The input value state :checked The :checked pseudo-class represents user interface elements such as radio and checkbox elements that are selected by the user. Location Pseudo-classes The link pseudo-classes E:link The :link pseudo-class applies to links that have not yet been visited.
E:visited The :visited pseudo-class applies to visited links. The contextual reference element pseudo-class E:scope The contextual reference element pseudo-class represents an element E being a designated contextual reference element. Tree-Structural pseudo-classes The :root pseudo-class :root The :root pseudo-class represents an element that is the root of the document.
The :empty pseudo-class :empty The :empty pseudo-class represents an element that has no children at all. Tree-Abiding Pseudo-element Selectors Generated content pseudo-elements ::before Represents a styleable child pseudo-element immediately before the originating element's actual content.
List markers ::marker Represents the automatically generated marker box of a list item. Typographic Pseudo-element Selectors The ::first-line pseudo-element ::first-line Represents the content of the formatted line of the originating element. The ::first-letter pseudo-element ::first-letter Represents the first typographic letter unit of the first formatted line of the originating element, if it is not preceded by other content.
Footnote Pseudo-element Selectors The ::footnote-call pseudo-element ::footnote-call Represents the footnote calls, i. The ::footnote-marker pseudo-element ::footnote-marker Represents the footnote markers placed in front of the actual footnote text. Media Queries A Media Query is a method of testing certain aspects of the user agent or device that the document is being displayed in. Several media queries can be combined into a comma separated media query list.
Media Query Modifiers Negating a media query not An individual media query can be negated by prefixing it with the keyword not. Hiding a media query from legacy user agents only Prefixing a media query with the keyword only will have no effect on the media query's result, but will be ignored by legacy user agents. Media Types A media type is a category of user-agent devices on which a document may be displayed. Media types all Matches all devices. Media Features A media feature is a more fine-grained way of targeting a specific user-agent.
However, there are some differences between the two: Properties provide information about how to present a document; media features describe requirements of the output device. Media features are wrapped in parentheses and combined with the keyword and.
A media feature may be given with only its name to evaluate the feature in a boolean context. Media features with "range" type may be expressed with standard mathematical comparison operators. Properties sometimes accept complex values, while media features only accept single values. Media feature types discrete Media features of the type "discrete" take their values from a set.
Their feature names can be prefixed by min- or max-. Dimension Media Features width Value: length Describes the width of the displayed page. Type: range height Value: length Describes the height of the displayed page.
Type: range aspect-ratio Value: length Describes the ratio of the width to the height of the displayed page. Type: range orientation Value: portrait landscape Describes the width of the displayed page.
Type: discrete Display Quality Media Features resolution Value: resolution infinite Describes the resolution of the output device. Type: range scan Value: interlace progressive Describes the scanning process of the output device.
Rather than changing the web page itself, with CSS, only the styles need to be changed, which means fewer chances to the overall code. CSS contains — selector and declaration block. A declaration block consists of property-value pairs. Here, title is the selector and the declaration block is the entire thing inside the curly braces. Saved as -. With that comes to an end of the CSS cheat sheet.
CSS Basic Properties
Cascading Style Sheet or CSS is a stylesheet language that dictates how your website elements should look like. As you can see, the CSS syntax consists of a selector and a declaration block. Your syntax should look like this:.
This page is for WeasyPrint See changelog for older versions. It will follow HTTP redirects but more advanced features like cookies and authentication are currently not supported, although a custom url fetcher can help. HTML presentational hints are not supported by default, but most of them can be supported:.
Using CSS day-to-day? So here you have it — a total of 29 pages, structured into different paragraphs: backgrounds, borders, fonts, texts, Column, Colours, Grid positioning and a lot more including UI. Follow us:.
The font length units are relative to the font-size property.
Тоже неподвижная, она стояла у дверей шифровалки. Стратмор посмотрел на ее залитое слезами лицо, и ему показалось, что вся она засветилась в сиянии дневного света. Ангел, подумал. Ему захотелось увидеть ее глаза, он надеялся найти в них избавление. Но в них была только смерть. Смерть ее веры в. Любовь и честь были забыты.
Да, - еле слышно сказала. - Полагаю, что. ГЛАВА 111 В комнате оперативного управления раздался страшный крик Соши: - Акулы. Джабба стремительно повернулся к ВР. За пределами концентрических окружностей появились две тонкие линии. Они были похожи на сперматозоиды, стремящиеся проникнуть в неподатливую яйцеклетку.