As I develop my ASP.NET website with Bootstrap, I am looking to implement a card column layout. After reading the tutorial on Bootstrap's documentation, I came across this code snippet:
.card-columns {
@include media-breakpoint-only(lg) {
column-count: 4;
}
@include media-breakpoint-only(xl) {
column-count: 5;
}
}
I understand that this code sets the number of columns to 4 for large screens (lg) and 5 for extra-large screens (xl).
My question is where should I include this code? I attempted adding it to the HTML head section, but it didn't work. My page currently uses Bootstrap from a CDN (not a local folder).
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">