Is there anyway in bootstrap or CSS to make it so my columns only have a border when on a medium device or above?
Or even have a different border for small devices compared to medium and above?
For example if I have:
<div class="container">
<div class="row">
<div class="col-md-12">
stuff
</div>
</div>
</div>
How can I tell the column of class col-md-12
to have a different border on smaller devices than on larger devices?
Add .table-borderless for a table without borders.
Use the border-top-0 class to remove the top border from an element.
write you css in media queries according to your requirement.
/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
}
/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
}
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With