https://github.com/twbs/bootstrap
Revision 761c4ff2353a42cbf325a3e1910921ced758e059 authored by Anton on 31 January 2022, 21:54:39 UTC, committed by Mark Otto on 09 February 2022, 01:11:46 UTC

~~~html
<style>
.list-group-item-action {color: blue;}
.list-group-item {color: red;}
</style>
<p class="list-group-item">red text!</p>
<p class="list-group-item list-group-item-action">still red text!</p>
~~~
because `.list-group-item` declared after `.list-group-item-action` (order in attribute `class` no effect)
1 parent da9c007
History
Tip revision: 761c4ff2353a42cbf325a3e1910921ced758e059 authored by Anton on 31 January 2022, 21:54:39 UTC
Fix overriding styles of `.list-group-item-action`
Tip revision: 761c4ff
File Mode Size
.github
build
dist
js
nuget
scss
site
.babelrc.js -rw-r--r-- 162 bytes
.browserslistrc -rw-r--r-- 175 bytes
.bundlewatch.config.json -rw-r--r-- 1.3 KB
.cspell.json -rw-r--r-- 1.9 KB
.editorconfig -rw-r--r-- 167 bytes
.eslintignore -rw-r--r-- 73 bytes
.eslintrc.json -rw-r--r-- 1.3 KB
.gitattributes -rw-r--r-- 177 bytes
.gitignore -rw-r--r-- 442 bytes
.stylelintignore -rw-r--r-- 55 bytes
.stylelintrc -rw-r--r-- 637 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 13.4 KB
SECURITY.md -rw-r--r-- 471 bytes
composer.json -rw-r--r-- 667 bytes
config.yml -rw-r--r-- 3.5 KB
package-lock.json -rw-r--r-- 693.9 KB
package.js -rw-r--r-- 484 bytes
package.json -rw-r--r-- 9.0 KB

README.md

back to top