Regular expressions are used
Uploading ... re-upload Cancel dump failed to re-upload canceled
- Selector intermediate derived by spaces empty * /
- A b When A is on a label defined in the following A characteristic of this sub-label when the label b is modified to that particular high priority that
- id id # tag selectors to define
- Class selector uses. Class may be defined and used for use with a derived selector
- Attribute selectors
- Elements with the specified attribute to be modified directly modified in html
- And attribute value selector
- CSS background
- padding padding
- background-position: right top; the top right of the picture display position began to show
- 110px 10ox: px represent values from above and from the left of the
- %
- background-image:url('paper.gif')
- text text
- text-align: justify each line is expanded to be equal to the width of the left and right margins are aligned (e.g., magazines and newspapers)
- Text-decoration decorator on a text was decorated scribe underline and strikethrough
- text-transform: uppercase text case Control
- Text-indent text-indent: 50px; Indent first line to the specified text
Set the text color |
|
Setting text orientation. |
|
Set character spacing |
|
Set Row Height |
|
Aligned text in the element |
|
Adding modifications to the text |
|
Indent the first line of this elemental Chinese |
|
Set the text shadow |
|
Letters control element |
|
Sets or returns whether the text is rewritten |
|
Element is set vertically aligned |
|
Mode setting processing element blank |
|
Set character spacing |
-
- Link Properties strict accordance with the order
- a: link {color: # 000000;} / * unvisited links * / a: visited {color: # 00FF00;} / * visited link * / a: hover {color: # FF00FF;} / * mouse movement to the link a * / a: active {color: # 0000FF;} / * * mouse clicks /
- Link Properties strict accordance with the order
- List styles
- list-style-image picture can be specified as a list of pre-bid style
- Position outside inside list-style-position mark point
- The type of list-style-type setting icon
- Form table
- boder border border: 1px solid black; bis border effect
- border-collapse: collapse; folding table is provided that is a single border widened
- padding: 15px border control and content from inside
- CSS BOX
- Margin (margins) - clear the area outside of the frame, it is transparent from the outside.
- Border (Borders) - around the inner and outer margins content border.
- Padding (padding) - clear the area around the content, padding is transparent.
- Content (content) - the contents of the box to display text and images.
Dump failed to re-upload canceled dump failed to re-upload canceled
- Border type boder-style
- dotted: define a dotted line border
dashed: Define a dotted border
solid: definition of the most common solid border
double: two defined border. The same value two border width and border-width of
groove: 3D groove defined border. Effect depends on the color values of the border
ridge: the definition 3D ridge border. Effect depends on the color values of the border
inset: the definition of a 3D frame is embedded. Effect depends on the color values of the border
outset: Defines a 3D outset border. Effect depends on the color values of the border
- Border-color border color
- Contour outline
Dump failed to re-upload canceled dump failed to re-upload canceled
- Margin margin
- Left on the bottom right order when writing shorthand
- padding padding
Dump failed to re-upload canceled dump failed to re-upload canceled
- A packet selector
- h1, h2, p {color: green;} tags using a plurality of style
- Nested selector
- p {}: Specifies a style for all p elements.
- .marked {}: for all class = "marked" element specifies a pattern.
- .marked p {}: = p elements within the "marked" element specifies a style for all class.
- p.marked {}: for all class = "marked" element specifies a pattern of p.
- Display display and visibility visiable
- display: inline; z displayed in a row
- display: block; Branch display
CSS Position (positioning)
property specifies the position of the positioning element type. Only now positioned behind the position specified property is valid
Five values of the position property:
- static static positioning elements will not be top, bottom, left, right influence.
- relative positioning element is located opposite relative to its normal position.
- Fixed position with respect to the element of the browser window is a fixed position. Even if the window is rolling it does not move: commonly used in display advertising
- Position absolute absolute positioning of elements relative to the nearest positioned parent element, if the element is not already positioned parent element, then its position relative to the <html>:
- sticky viscous positioning. It behaves like position: relative; when the page is scrolled beyond the target area, it behaves like position: fixed ;, it will be fixed at the target location.
Elements are positioned in front of performance across a certain threshold relative positioning, after a fixed positioning. https://www.runoob.com/try/try.php?filename=trycss_position_sticky
- CSS overflow property works only in the specified height of the block elements.
Attribute is used to display the contents of the overflow control block elements. Add a scroll bar elements within the corresponding section.
- visible defaults. Content will not be pruned, there will be elements outside the box.
- scroll content will be trimmed, but the browser will display the scroll bar to view the rest of the content.
- If the content is auto trim, the browser will display the scroll bar to view the rest of the content.
CSS Float (floating)
Elements after the floating element will be around it. Element before the floating element will not be affected.
- Floating clear - clear clear attribute used to specify the element can not appear on both sides of the floating element.
- clear:both;
Flex layout
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
Dump failed to re-upload canceled dump failed to re-upload canceled
to sum up:
flex container
- display:flex / inline-flex
- flex-direction: determine the direction of the spindle
- justify-content: determined flex-items arrangement on the spindle
- align-items: decision flex-items in a cross-axis arrangement
- flex-wrap: Wrap decide whether
- align-content: determines a plurality of rows flex-items in a cross-axis arrangement
- flex-flow: a flex-direction, flex-wrap abbreviations
flex-items
- flex: The following is an acronym for the three
- flex-grow: flex-items decide how to extend in the direction of the spindle
- flex-basis: width substantially determines flex-items in the main direction of the element, as a reference
- flex-shrink: the decision flex-items How to shrink in the direction of the spindle
- order: determines the order of the items
- align-self: adjusting its subelements manner, eliminating the align-items caontainer