I have 2 div elements inside of but one of them is having class col-md-2 and other is having class col-md-10. sample view
AS shown in image, div containing hyperlinks (Database edit, invoice, preview ) is not acquiring 100% width. How to make it to acquire 100% width after browser resize?
Change the class of your div with class="col-xs-12 col-sm-12 col-md-2"
. It should works !
Just add a basic CSS media query to expand the width
@media screen and (max-width: 500px) {
.col-md-2 {width:100%;}
}
Adjust it to your specific needs
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.