Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. // HTML + CSS
  2.  
  3. 1. CSS preprocessors, post processors
  4. sass, stylus, less
  5. - what do we need it
  6.  
  7. 2. reseting, nonrmalising
  8. - The CSS Reset stylesheet is a basic template to wipe out all built-in styling for HTML elements.
  9. - Normalize.css stylesheet also removes browser inconsistencies for HTML elements, but instead of removing everything like CSS Reset, normalize.css will preserve some useful defaults. Normalize.css was created to make built-in browser styling consistent across all browsers.
  10. - Normalize.css preserves useful defaults rather than "unstyling" everything
  11.  
  12. 3. Why we need BEM,
  13.  
  14. 4. Formating contexts:
  15. - Float
  16. - absolutely positioned elements (fixed and sitcky)
  17. - Block formatting contexts
  18. - Inline-block
  19. - table cells or elements
  20. - flex
  21. - grid
  22.  
  23. 5. Flex && Grid
  24. - ONE Dimension
  25. - Flex can be arranged in any direction
  26. - Flex can have its visual order reversed or rearranged
  27. - Items can be aligned in your container or between them
  28. - Support all browsers
  29.  
  30. - TWO Dimensions
  31. - Grid tracks are created within your stylesheet
  32. - Reduced file sizes
  33. - Prototyping with CSS Grid is fast and efficient
  34. ----- Not supported by every browser
  35.  
  36. + new unit in grids? (fr)
  37. + grid-template-areas ?
  38. + minmax() repeat() span
  39.  
  40. 6. Why use SVG
  41. - Scalable Vector Graphics
  42. - Small file sizes that compress well
  43. - Scales to any size without losing clarity (except very tiny)
  44. - Looks great on retina displays
  45. - Now you can control with CSS
  46. - SVG has its own CSS properties and values. Some of them are similar to CSS properties for HTML.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement