Advertisement
Guest User

Untitled

a guest
Aug 24th, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.76 KB | None | 0 0
  1. /* Margins
  2. ----------------------------------------------------------------------------------------------------*/
  3.  
  4. .no-margin {
  5.   margin: 0 !important;
  6. }
  7.  
  8. .no-top-margin {
  9.   margin-top: 0 !important;
  10. }
  11.  
  12. .no-left-margin {
  13.   margin-left: 0 !important;
  14. }
  15.  
  16. .no-right-margin {
  17.   margin-right: 0 !important;
  18. }
  19.  
  20. .no-bottom-margin {
  21.   margin-bottom: 0 !important;
  22. }
  23.  
  24. /* Paddings
  25. ----------------------------------------------------------------------------------------------------*/
  26.  
  27. .no-padding {
  28.   padding: 0 !important;
  29. }
  30.  
  31. .no-top-padding {
  32.   padding-top: 0 !important;
  33. }
  34.  
  35. .no-left-padding {
  36.   padding-left: 0 !important;
  37. }
  38.  
  39. .no-right-padding {
  40.   padding-right: 0 !important;
  41. }
  42.  
  43. .no-bottom-padding {
  44.   padding-bottom: 0 !important;
  45. }
  46.  
  47. /* Aligns
  48. ----------------------------------------------------------------------------------------------------*/
  49.  
  50. .align-left {
  51.   left: 0 !important;
  52. }
  53.  
  54. .align-right {
  55.   right: 0 !important;
  56. }
  57.  
  58. .align-center {
  59.   top: 50% !important;
  60.   left: 50% !important;
  61.   position: absolute !important;
  62.   -webkit-transform: translate(-50%, -50%) !important;
  63.      -moz-transform: translate(-50%, -50%) !important;
  64.       -ms-transform: translate(-50%, -50%) !important;
  65.        -o-transform: translate(-50%, -50%) !important;
  66. }
  67.  
  68. /* Text Aligns
  69. ----------------------------------------------------------------------------------------------------*/
  70.  
  71. .text-left {
  72.   text-align: left !important;
  73. }
  74.  
  75. .text-right {
  76.   text-align: right !important;
  77. }
  78.  
  79. .text-center {
  80.   text-align: center !important;
  81. }
  82.  
  83. /* Floats
  84. ----------------------------------------------------------------------------------------------------*/
  85.  
  86. .float-left {
  87.   float: left !important;
  88. }
  89.  
  90. .float-right {
  91.   float: right !important;
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement