I want a 0 width input that expands into view, but it seems like Bootstrap's styling is not letting me do this without !important
. But when I do mark it !important
, I cannot seem to make it expand with jQuery's .animate({width: "170px"}, 200)
.
Perhaps another alternative to make the box expand into view?
Use stronger/more specific selector than Bootstrap uses.
Bootstrap uses a lot of classes in their CSS, so stronger selector will be each one with ID. eg. #content .col-md-6 .col-md-4
is stronger than .col-md-6 .col-md-4
etc.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.