web front-end development H5 knowledge

First h5 there are several common formats, each defined by the div is no longer as before.
header
NAV
Section
aritcle
aside
footer
video and audio formats
Video: OGG webm MP4
Audio: MP3 OGG WAV
Properties:
width height src controls autoplay loop poster
src file source controls plug-in, which is following the progress bar a bar loop looping poster suspended
form
Radio File password the TextArea the CheckBox text the SELECT the Button the Submit the RESET
H5 form:
Email, url, DATE, Week, month the, Time, Number the, Color, the Range, Search
H5 form attributes
required required
autocomplete automatic memory
plactholder message
pattern regular expression pattern = [az] {3} three letter input means is a look
autofocus autofocus
to pitch margin:
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img
*{}

Selector
element selectors

  • Wildcard
    e tag selector
    #id id selector
    .class class selector
    relationship selector
    ef include a selector
    e> f Sons selector
    e + f adjacent the selector: When e and f elements of all the elements
    e e ~ f sibling selector all subsequent sibling f
    pseudo class selector
    : before access link
    : when hover hover
    : active click active state
    : the visited access
    : focus when the focus acquisition
    elemental pseudo class selector the UI
    E: the checked selected (only for the single check boxes and radio buttons)
    E: Enabled editable state (the default state)
    E: disabled disabled
    attribute selector
    E [attr]
    E [attr = "value"]
    E [~ attr = "value"] value and spaces element e
    e [attr | = "value" ] separators - an element e
    e [attr ^ = "value" ] to e beginning value
    e [attr $ = "value"] at an e value ending
    with a [attr * = "value"] attr value contained in e-tag
    pseudo object selectors
    e: first-letter first character
    e:first-line the first line
    before the front: e
    e: after the
    triggered when the selected e :: selection effect
    structural pseudo class selector
    : root root selector
    e: first-child of the first child element E
    e: Last Child-last child element E
    e: Child-only only one child element E
    E: Nth-child (n) of the n th element en = odd even numerical formula
    e: nth-last-child ( n) of the n th element of the inverse of E
    E: first-of-a first type the same type of element
    e: last-of-type last the same type of element
    e: only-of-type single same type of element
    e: nth-of-type ( n) of a n type elements en = odd even numerical formula
    e: nth-last-of-type ( n) with the inverse of the n-th element of type E
    E: empty empty element
    --------------------------- -
    box-shadow box shadow
    box-shadow: Fuzzy vertical position from the horizontal position of the shadow size of the shadow color [internally or externally]
    background-Origin: box-border, padding-box, box Content-
    background-Clip :: border-box, Box-padding, Content-Box
    background: linear-gradient (direction, color, ......) linear gradient
    background: repeating-linear-gradient (direction, color ......) repeating linear gradient

Radial gradient
background: radial-gradient (center coordinates, shape and size, color ......)
Size:
/ Closest latest Side-edge
farthest-side farthest edge
closest-corner nearest corner
farthest-corner furthest angle
/
shape :
Circle ellipse or (default ellipse)
background: radial-repeating-gradient () repeating radial gradient

Multi-row
column-count: disaggregated
column-gap: column spacing
column-rule: parting line
elastic box
parent element added
display: flex; display: -webkit- flex;
sub-element arrangement :( parent element is added)
justify- content: flex-start / flex- end / center / space-between / space-around
sub-element vertical alignment (parent element added)
align = left-Item: Flex-Start / Flex-End / Center / Baseline / Stretch
to the top / bottom side / center / base / default auto
sub-element wrap embodiment (parent element is added)
Flex-wrap: NoWarp / wrap / wrap-Reverse / Initial / the inherit
a single row (not wrap, will overflow) / multi-line, wrap / wrap, trans transfer arrangement / initialization default similar effect / default (not wrapped)
align = left-Content disposed row alignment (to the parent element)
with the proviso that flex-wrap is only wrap can
align-content: stretch / flex- start / flex -end / center / space-between / space-around
default / top, bottom, middle, ends, uniformly distributed
sub-element order (child element)
order:. 1, the smaller the value can be negative front
subelements align (child element)
margin: auto; blank objects are automatically
allocated proportionally element (child element)
flex: scale value
, such as:
div> div * 3
sub-element to flex in order: a flex: flex 3: Results 1: 1: 3: 1

Guess you like

Origin blog.51cto.com/14584021/2451937