A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/twbs/bootlint/wiki/E029 below:

E029 · twbs/bootlint Wiki · GitHub

Since grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes (unless overridden by grid classes targeting larger screens), class="..." is redundant and can be simplified to class="..."

Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, unless overridden by grid classes targeted at larger devices. This means that it's not necessary to repeat the same grid column width for adjacent breakpoints.

For example, class="col-sm-6" will make the element 6 columns wide on small (sm), medium (md), and large (lg) screens. Therefore, class="col-sm-6 col-md-6 col-lg-6" and class="col-sm-6 col-md-6" are both equivalent to class="col-sm-6", which should be preferred since it's simpler and less verbose.

In contrast, class="col-sm-6 col-md-3 col-lg-6" cannot be simplified.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4