5 Parts 3 Ways to Include CSS CSS Rule Color Model Font CSS Box

5 Parts 3 Ways to Include CSS CSS Rule Color Model Font CSS Box

Border-style: solid/douBle min-height, max-height, height CSS3 Border-color width: 1000% loat, clear cornerstone Border-width (create arrow) text-align (left, justify, right) 5 parts Border-image overPlow, overPlow-x, overPlow-y 1. Page layout Border-radius (circle, eclipse, prove) visible, hidden, scroll, auto 2. Element styles Page layout 3. Element position Examples of Block, inline, inline-block overPlow for Ploat child cornerstone loat, inline-block cornerstone 4. Responsive design elements column-count, column-gap 5. Animation Box-shadow display cornerstone CSS selectors 3 ways to include CSS inline, inline-block, Block, none list-style Syntax examples: Inline / Embedded / External Border-collapse (for taBle) *, tag, #id, .class default width/height for each type background image s1, s2 (select all s1 and all s2) set width/height for each type background-image: url(…) s1 s2, s1>s2, s1+s1, s1~s2 CSS rule visibility Background-image: url(…), url(…) [att], [attr=”val”] Selector, Property, Value :active, :focus, :hover, Box-sizing cornerstone background-repeat:no-repeat ::after, ::before Color model Background-repeat:no-repeat, repeat :required, color How margin and padding work for Background-position :Pirst-child, :last-child, Background-color: linear-gradient(to inline, inline-block and Block elements top, right, Bottom, left :nth-child(n), :nth-last-child(n) Bottom right, red, Blue) center ::Pirst-letter, ::Pirst-line, :root rgB,rgba,hex,hsl,name How margin works when set width :not(selector) Background-size opacity margin: collapse, negative auto, cover, contain CSS speciPicity Element styles Background-attachment 1. !important > inline style > id Font scroll, local, ixed selector > pseudo class > class or font-family (5 basic fonts, typography) cursor attribute selector > tag font-size (px, %, em, rem) outline 2. long path>short path user-select Background-clip font-style, font-weight padding-box, content-box 3. The last rule overrides the previous letter-spacing, word-spacing rule text-transform Background: linear-gradient(to right, white 20%, Black 20%, white, Black) -weBkit-background-clip:text text-shadow color: transparent Insert HTML element line-height cornerstone Background: linear-gradient(…), Content cornerstone text-indent (negative value) url(image) Pilter: grayscale(100%) … text-decoration Element position Responsive design font-variant radial-gradient(circle 100px at 100px small-caps linebox cornerstone Syntax example 100px, white, Black) vertical-align cornerstone @media all and (min-width:768px) :Pirst-line, :Pirst-letter { … } cornerstone repeating-linear-gradient position cornerstone repeating-radial-gradient static, relative, absolute, ixed WeB fonts, WeB icons, SVG CSS Box model top, left, right, Bottom google fonts Box model: content, padding, Border, width: 100%, auto, 0 font awesome margin cornerstone applied on Block and inline element z-index (for non static) SVG Centering (vertical, horizontal) By Teens Programming border min-width, max-width, width cornerstone Backface-visiBility:hidden; More properties <div data=‘data from server’></div> Front-end framework all: initial|inherit content: attr(data) Bootstrap/Foundation animation @keyframes move { Background:url(…), url(…) from { Animation Background-blend-mode: overlay|… More selectors translateX(100px); transition: p1 1s, p2 3s linear; Background-origin: padding-box | [attr~=’val’] (space list), [attr*=’val’] } transition: 1s Border-box | conent-box [attr|=’val’] (dash list), [attr^=’val’] to { [attr$=’val’] translateX(200px) transition-property mix-blend-mode:overlay | … ::selection, :target, :visited, :link, } :checked, :disaBled, :enaBled, :in- transition-duration transition-timing-function oBject-it range, :out-of-range, :invalid, :optional, animation-name (cuBic-bezier.com) oBject-position :read-only, :read-write, animation-duration :valid transition-delay (can Be negative) caret-color :empty animation-timing-function: ease-in, user-select: none :only-of-type, :only-child, transform for 2D (has order) ease-out, ease-in-out, hyphens:auto :Pirst-of-type, :last-of-type, translateX(100px), step-start, step-end, word-break: Break-all|keep-all :nth-of-type(n), :nth-last-of-type(n) translateY(200px), steps(2), steps(2,start) translate(100px, 200px) clip-path: url(#mysvgpath) | More layouts scaleX(2) animation-iteration-count:inPinite circle(40% at 100% 50%) | scaleY(1) animation-delay:1s eclipse(200px 100px) | polygon(50% lex box scale(2,1) For container: animation-direction: normal/reverse/ 0, 100% 50%, 50% 100%, 0 50%) | alternate inset(4% 24% 23% 22%) display: lex rotate(90deg), rotate(10turn) Plex-direction: row, column, row- reverse, column-reverse animation-ill-mode: forwards/ count-increment: mycounter 100 transform-origin: x-axis y-axis z-axis backwards/both content: count(mycount) Plex-wrap: wrap top left right Bottom/10px 10px/% display: contents justify-content: Plex-end, space- skewX(20deg) animate spritesheet display: list-item around, space-between, center skewY(20deg) align-items matrix(…) Extra position: sticky align-content transform for 3D animate.css liBrary perspective property Plex-low YouTuBe channel outline perspective function perspective-origin resize: Both For Plex item: By TeensProgramming.com order overPlow: auto translateZ(200px)==scaleZ(2) lex translateZ(100px) caption-side:Bottom Plex-basis (0 and auto, compare with taBle-layout: auto translate3d(x,y,z) width) Plex-grow appearance rotateX(2turn) Plex-shrink rotateY(45deg) CSS functions align-self :root { rotateZ(45deg) rotate3d(…) —bg-color: lime Grid } transform-style: preserve-3d/Plat color: var(—bg-color) .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us