TheBestTutorials.css Utilities (Helpers)
Utility Classes
Most of TheBestTutorials.css is built around utility classes providing padding, margins, sizes, and positioning.
Utility classes are often called Helper classes.
Padding Classes
The TheBestTutorials-padding-number classes adds top and bottom padding to an HTML element:
TheBestTutorials-padding-4
I have 4px top and bottom padding
subhodaya-padding-8
I have 8px top and bottom padding
TheBestTutorials-padding-16
I have 16px top and bottom padding
TheBestTutorials-padding-24
I have 24px top and bottom padding
TheBestTutorials-padding-32
I have 32px top and bottom padding
TheBestTutorials-padding-48
I have 48px top and bottom padding
TheBestTutorials-padding-64
I have 64px top and bottom padding
TheBestTutorials-padding-128
I have 128px top and bottom padding
Example
<p>I have 16px top and bottom padding.</p>
</div>
The TheBestTutorials-padding-size classes adds padding to any HTML element:
The TheBestTutorials-padding-tiny class adds 2px top and bottom and 4px left and right.
The TheBestTutorials-padding-small class adds 4px top and bottom and 8px left and right.
The TheBestTutorials-padding-medium class adds 8px top and bottom and 16px left and right.
The TheBestTutorials-padding-large class adds 12px top and bottom and 24px left and right.
The TheBestTutorials-padding-xlarge class adds 16px top and bottom and 32px left and right.
The TheBestTutorials-padding-xxlarge class adds 24px top and bottom and 48px left and right.
The TheBestTutorials-padding-jumbo class adds 32px top and bottom and 64px left and right.
Example
<p>I have 16px top and bottom padding and 32px left and right padding.</p>
</div>
Margin Classes
The TheBestTutorials-margin classes add margins to an element:
The TheBestTutorials-margin class adds 16px margin to all sides of an element.
The TheBestTutorials-margin-bottom class adds a 16px bottom margin to an element.
The TheBestTutorials-margin-left class adds a 16px left margin to an element.
The TheBestTutorials-margin-right class adds a 16px right margin to an element.
The TheBestTutorials-margin-top class adds a 16px top margin to an element.
Example
<p>I have 16px margin on all sides.</p>
</div>
Round Classes
The TheBestTutorials-round-size class adds rounded borders to an element:
Example
The Circle Class
The Center Class
The TheBestTutorials-center class centers an element:
Example
<img class="subhodaya-circle" src="img_car.jpg" alt="Car">
</div>
Floating Classes
The TheBestTutorials-left class floats an element to the left, the TheBestTutorials-right class floats an element to the right:
Example
<div class="subhodaya-left subhodaya-red">subhodaya-left</div>
<div class="subhodaya-right subhodaya-blue">subhodaya-right</div>
</div>
Show / Hide Classes
The TheBestTutorials-hide-small|medium|large class hides an element on a specific screen size.
Note: Resize the browser window to understand how it works:
Example
<p class="subhodaya-hide-medium">subhodaya-hide-medium will be hidden on medium screens (tablet)</p>
<p class="subhodaya-hide-large">subhodaya-hide-large will be hidden on large screens (laptop/desktop)</p>