×
          
              
          
      
      Clear all filters including search bar
          
        Valeri Tandilashvili's CSS Notes
      
    .clearfix::after {
  content: "";
  clear: both;
  display: block;
}Modern way of clearing floats<i style="display:block;clear:both"></i>justify-content is always working on a main axis. 
It means, that when flex-direction: column;, then justify-content property aligns items verticallyDefault value is 1flex value, they will take the same space and will shrink and grow equally.container div {
    flex: 1;
}stretch that means all the flex items will be stretched vertically as default.container {
  display: flex;
  align-items: stretch;
}flex property is a shorthand for flex-grow, flex-shrink, and flex-basis. 
In this case the element with the property is going to take all the available width.@media query is used for special devices.
In the example below @media query is for devices with width less than or equal to 600px #main {
    width: 70%;
    float: left;
    padding: 0 30px;
    box-sizing: border-box;
}
#sidebar {
    width: 30%;
    float: right;
    padding: 0 30px;
    box-sizing: border-box;
}
@media(max-width:600px) {
    #main {
        width: 100%;
        float: none;
    }
    #sidebar {
        width: 100%;
        float: none;
    }
}label element to block level element using the code below. 
So they will take the full width of the container.my-form label {
    display: block;
}cellpadding attribute of the tableth, td {
    border: 1px solid black;
    padding: 5px;
}