Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. # SCSS Structure
  2. > Remplate for scss files
  3.  
  4. ```
  5. //////////////////////
  6. /// BLOCK__ELEMENT ///
  7. //////////////////////
  8.  
  9. .wrapper {}
  10.  
  11. //////////////////
  12. /// MODIFIERS ////
  13. //////////////////
  14.  
  15. .wrapper {
  16. &.modicifation-class {
  17. // code here...
  18. }
  19. }
  20.  
  21. /////////////////////
  22. /// MEDIA QUERIES ///
  23. /////////////////////
  24.  
  25. @media #{$medium-only} {}
  26. @media #{$small-only} {}
  27.  
  28. //////////////////////////////////////////////////////////////////////////////////////
  29. //////////////////////////IE10+ specific styles go here //////////////////////////////
  30. //////////////////////////////////////////////////////////////////////////////////////
  31. // NOTES: @extend is not supported within {media} ////////////////////////////////////
  32. //////////////////////////////////////////////////////////////////////////////////////
  33.  
  34. @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {}
  35.  
  36. ////////////////////////
  37. /// IE MEDIA QUERIES ///
  38. ////////////////////////
  39.  
  40. @media only screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  41. @media only screen and (max-width: 1024px) and (min-width: 641px) {}
  42. @media only screen and (max-width: 640px) {}
  43. }
  44. ```
  45. ***
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement