Advertisement
Guest User

Untitled

a guest
Jun 5th, 2017
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.07 KB | None | 0 0
  1. html,body,.container {
  2.     height:100%;
  3. }
  4.  
  5. .row label, .row input, .row button {
  6.     width: 50px;
  7.     text-align: center;
  8. }
  9.  
  10. .labelrow {
  11.     height: 45%;
  12. }
  13.  
  14. .namerow {
  15.     height: 15%;
  16. }
  17.  
  18. .buttonrow {
  19.     height: 40%;
  20. }
  21.  
  22. .container {
  23.    display:table;
  24.    width: 100%;
  25.     margin: 0;
  26.    padding: 0 0 0 0; /*set left/right padding according to needs*/
  27.    box-sizing: border-box;
  28. }
  29.  
  30. .stretchyrow {
  31.     height: 20%; /* adjust this to 100% / the number of rows */
  32.     display: table-row;
  33. }
  34.  
  35. .row .no-float {
  36.   display: table-cell;
  37.   float: none;
  38. }
  39.  
  40. .col-xs-5ths,
  41. .col-sm-5ths,
  42. .col-md-5ths,
  43. .col-lg-5ths {
  44.     position: relative;
  45.     min-height: 1px;
  46.     padding-right: 15px;
  47.     padding-left: 15px;
  48. }
  49.  
  50. .col-xs-5ths {
  51.     width: 20%;
  52.     float: left;
  53. }
  54.  
  55. @media (min-width: 768px) {
  56.     .col-sm-5ths {
  57.         width: 20%;
  58.         float: left;
  59.     }
  60. }
  61.  
  62. @media (min-width: 992px) {
  63.     .col-md-5ths {
  64.         width: 20%;
  65.         float: left;
  66.     }
  67. }
  68.  
  69. @media (min-width: 1200px) {
  70.     .col-lg-5ths {
  71.         width: 20%;
  72.         float: left;
  73.     }
  74. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement