W3.CSS Borders:-
W3.CSS आपको html element के चारों ओर विभिन्न प्रकार की borders की अनुमति देता है W3.CSS बॉर्डर्स को 12 अलग-अलग बॉर्डर classes के माध्यम से लागू किया जाता है
W3.CSS Borders:-
W3.CSS allows you to different types of borders around html elements. W3.CSS borders are implemented via 12 different border classes.
Example:
Sr. No |
Class |
Defines |
1 |
w3-border |
Adds borders (top, right, bottom, left) to an element |
2 |
w3-border-top |
Adds a top border to an element |
3 |
w3-border-right |
Adds a right border to an element |
4 |
w3-border-bottom |
Adds a bottom border to an element |
5 |
w3-border-left |
Adds a left border to an element |
6 |
w3-border-0 |
Removes all borders |
7 |
w3-border-color |
Displays the border in a specified color (like red, blue, etc.) |
8 |
w3-hover-border-color |
Adds a hoverable border color |
9 |
w3-bottombar |
Adds a thick bottom border to an element |
10 |
w3-leftbar |
Adds a thick left border to an element |
11 |
w3-rightbar |
Adds a thick right border to an element |
12 |
w3-topbar |
Adds a thick top border to an element |