SE@RCHER
SE@RCHER
Золотая библиотека JAVASCRIPT Библиотека JAVASCRIPT + CSS
Золотая библиотека JAVASCRIPT Библиотека JAVASCRIPT + CSS
Золотая библиотека JAVASCRIPT ЛУЧШИЕ JAVASCRIPT
Золотая библиотека JAVASCRIPT
1997






ИЗБРАННЫЕ ПРИМЕРЫ CSS3

CSS (англ. Cascading Style Sheets — каскадные таблицы стилей)

третья версия представляет из себя набор документов, называемых модулями. Каждый развивается независимо от второй версии с сохранением обратной совместимости, а затем утверждается в качестве рекомендации.
CSS3 Borders  
border-radius
box-shadow
border-image  
CSS3 Backgrounds  
background-size
background-origin
CSS3 Text Effects  
text-shadow
word-wrap
CSS3 Fonts  
@font-face
CSS3 Transforms  
transform
translate()
rotate()
scale()
skew()
matrix()
CSS3 3D Transforms  
rotateX()
rotateY()
CSS3 Transitions  
transition
CSS3 Animations  
@keyframes
animation
CSS3 Multiple Columns  
column-count
column-gap
column-rule
CSS3 User Interface  
resize
box-sizing
outline-offset
 
Property Description
@keyframes Specifies the animation
animation A shorthand property for all the animation properties below, except the animation-play-state property
animation-name Specifies a name for the @keyframes animation
animation-duration Specifies how many seconds or milliseconds an animation takes to complete one cycle
animation-timing-function Specifies the speed curve of the animation
animation-delay Specifies when the animation will start
animation-iteration-count Specifies the number of times an animation should be played
animation-direction Specifies whether or not the animation should play in reverse on alternate cycles
animation-play-state Specifies whether the animation is running or paused

Background Properties

Property Description
background-clip Specifies the painting area of the background
background-origin Specifies the positioning area of the background images
background-size Specifies the size of the background images

Border and Outline Properties

Property Description
border-bottom-left-radius Defines the shape of the border of the bottom-left corner
border-bottom-right-radius Defines the shape of the border of the bottom-right corner
border-image A shorthand property for setting all the border-image-* properties
border-image-outset Specifies the amount by which the border image area extends beyond the border box
border-image-repeat Specifies whether the image-border should be repeated, rounded or stretched
border-image-slice Specifies the inward offsets of the image-border
border-image-source Specifies an image to be used as a border
border-image-width Specifies the widths of the image-border
border-radius A shorthand property for setting all the four border-*-radius properties
border-top-left-radius Defines the shape of the border of the top-left corner
border-top-right-radius Defines the shape of the border of the top-right corner
box-decoration-break  
box-shadow Attaches one or more drop-shadows to the box

Box Properties

Property Description
overflow-x Specifies whether or not to clip the left/right edges of the content, if it overflows the element's content area
overflow-y Specifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area
overflow-style Specifies the preferred scrolling method for elements that overflow
rotation Rotates an element around a given point defined by the rotation-point property
rotation-point Defines a point as an offset from the top left border edge

Color Properties

Property Description
color-profile Permits the specification of a source color profile other than the default
opacity Sets the opacity level for an element
rendering-intent Permits the specification of a color profile rendering intent other than the default

Content for Paged Media Properties

Property Description
bookmark-label Specifies the label of the bookmark
bookmark-level Specifies the level of the bookmark
bookmark-target Specifies the target of the bookmark link
float-offset Pushes floated elements in the opposite direction of the where they have been floated with float
hyphenate-after Specifies the minimum number of characters in a hyphenated word after the hyphenation character
hyphenate-before Specifies the minimum number of characters in a hyphenated word before the hyphenation character
hyphenate-character Specifies a string that is shown when a hyphenate-break occurs
hyphenate-lines Indicates the maximum number of successive hyphenated lines in an element
hyphenate-resource Specifies a comma-separated list of external resources that can help the browser determine hyphenation points
hyphens Sets how to split words to improve the layout of paragraphs
image-resolution Specifies the correct resolution of images
marks Adds crop and/or cross marks to the document
string-set  

Flexible Box Properties

Property Description
box-align Specifies how to align the child elements of a box
box-direction Specifies in which direction the children of a box are displayed
box-flex Specifies whether the children of a box is flexible or inflexible in size
box-flex-group Assigns flexible elements to flex groups
box-lines Specifies whether columns will go onto a new line whenever it runs out of space in the parent box
box-ordinal-group Specifies the display order of the child elements of a box
box-orient Specifies whether the children of a box should be laid out horizontally or vertically
box-pack Specifies the horizontal position in horizontal boxes and the vertical position in vertical boxes

Font Properties

Property Description
@font-face A rule that allows websites to download and use fonts other than the "web-safe" fonts
font-size-adjust Preserves the readability of text when font fallback occurs
font-stretch Selects a normal, condensed, or expanded face from a font family

Generated Content Properties

Property Description
crop Allows a replaced element to be just a rectangular area of an object, instead of the whole object
move-to Causes an element to be removed from the flow and reinserted at a later point in the document
page-policy Determines which page-based occurance of a given element is applied to a counter or string value

Properties

Property Description
grid-columns Specifies the width of each column in a grid
grid-rows Specifies the height of each column in a grid

Hyperlink Properties

Property Description
target A shorthand property for setting the target-name, target-new, and target-position properties
target-name Specifies where to open links (target destination)
target-new Specifies whether new destination links should open in a new window or in a new tab of an existing window
target-position Specifies where new destination links should be placed

Linebox Properties

Property Description
alignment-adjust Allows more precise alignment of elements
alignment-baseline Specifies how an inline-level element is aligned with respect to its parent
baseline-shift Allows repositioning of the dominant-baseline relative to the dominant-baseline
dominant-baseline Specifies a scaled-baseline-table
drop-initial-after-adjust Sets the alignment point of the drop initial for the primary connection point
drop-initial-after-align Sets which alignment line within the initial line box is used at the primary connection point with the initial letter box
drop-initial-before-adjust Sets the alignment point of the drop initial for the secondary connection point
drop-initial-before-align Sets which alignment line within the initial line box is used at the secondary connection point with the initial letter box
drop-initial-size Controls the partial sinking of the initial letter
drop-initial-value Activates a drop-initial effect
inline-box-align Sets which line of a multi-line inline block align with the previous and next inline elements within a line
line-stacking A shorthand property for setting the line-stacking-strategy, line-stacking-ruby, and line-stacking-shift properties
line-stacking-ruby Sets the line stacking method for block elements containing ruby annotation elements
line-stacking-shift Sets the line stacking method for block elements containing elements with base-shift
line-stacking-strategy Sets the line stacking strategy for stacked line boxes within a containing block element
text-height Sets the block-progression dimension of the text content area of an inline box

Marquee Properties

Property Description
marquee-direction Sets the direction of the moving content
marquee-play-count Sets how many times the content move
marquee-speed Sets how fast the content scrolls
marquee-style Sets the style of the moving content

Multi-column Properties

Property Description
column-count Specifies the number of columns an element should be divided into
column-fill Specifies how to fill columns
column-gap Specifies the gap between the columns
column-rule A shorthand property for setting all the column-rule-* properties
column-rule-color Specifies the color of the rule between columns
column-rule-style Specifies the style of the rule between columns
column-rule-width Specifies the width of the rule between columns
column-span Specifies how many columns an element should span across
column-width Specifies the width of the columns
columns A shorthand property for setting column-width and column-count

Paged Media Properties

Property Description
fit Gives a hint for how to scale a replaced element if neither its width nor its height property is auto
fit-position Determines the alignment of the object inside the box
image-orientation Specifies a rotation in the right or clockwise direction that a user agent applies to an image
page Specifies a particular type of page where an element SHOULD be displayed
size Specifies the size and orientation of the containing box for page content

Ruby Properties

Property Description
ruby-align Controls the text alignment of the ruby text and ruby base contents relative to each other
ruby-overhang Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base
ruby-position Controls the position of the ruby text with respect to its base
ruby-span Controls the spanning behavior of annotation elements

Speech Properties

Property Description
mark A shorthand property for setting the mark-before and mark-after properties
mark-after Allows named markers to be attached to the audio stream
mark-before Allows named markers to be attached to the audio stream
phonemes Specifies a phonetic pronunciation for the text contained by the corresponding element
rest A shorthand property for setting the rest-before and rest-after properties
rest-after Specifies a rest or prosodic boundary to be observed after speaking an element's content
rest-before Specifies a rest or prosodic boundary to be observed before speaking an element's content
voice-balance Specifies the balance between left and right channels
voice-duration Specifies how long it should take to render the selected element's content
voice-pitch Specifies the average pitch (a frequency) of the speaking voice
voice-pitch-range Specifies variation in average pitch
voice-rate Controls the speaking rate
voice-stress Indicates the strength of emphasis to be applied
voice-volume Refers to the amplitude of the waveform output by the speech synthesises

Text Properties

Property Description
hanging-punctuation Specifies whether a punctuation character may be placed outside the line box
punctuation-trim Specifies whether a punctuation character should be trimmed
text-align-last Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"
text-justify Specifies the justification method used when text-align is "justify"
text-outline Specifies a text outline
text-overflow Specifies what should happen when text overflows the containing element
text-shadow Adds shadow to text
text-wrap Specifies line breaking rules for text
word-break Specifies line breaking rules for non-CJK scripts
word-wrap Allows long, unbreakable words to be broken and wrap to the next line

2D/3D Transform Properties

Property Description
transform Applies a 2D or 3D transformation to an element
transform-origin Allows you to change the position on transformed elements
transform-style Specifies how nested elements are rendered in 3D space
perspective Specifies the perspective on how 3D elements are viewed
perspective-origin Specifies the bottom position of 3D elements
backface-visibility Defines whether or not an element should be visible when not facing the screen

Transition Properties

Property Description
transition A shorthand property for setting the four transition properties
transition-property Specifies the name of the CSS property the transition effect is for
transition-duration Specifies how many seconds or milliseconds a transition effect takes to complete
transition-timing-function Specifies the speed curve of the transition effect
transition-delay Specifies when the transition effect will start

User-interface Properties

Property Description
appearance Allows you to make an element look like a standard user interface element
box-sizing Allows you to define certain elements to fit an area in a certain way
icon Provides the author the ability to style an element with an iconic equivalent
nav-down Specifies where to navigate when using the arrow-down navigation key
nav-index Specifies the tabbing order for an element
nav-left Specifies where to navigate when using the arrow-left navigation key
nav-right Specifies where to navigate when using the arrow-right navigation key
nav-up Specifies where to navigate when using the arrow-up navigation key
outline-offset Offsets an outline, and draws it beyond the border edge
resize Specifies whether or not an element is resizable by the user

ПРИМЕРЫ





ПРИМЕРЫ 2012 года

Библиотека JAVASCRIPT 1997- Дизайн и сопровождение © SE@RCHER