css - Bootstrap loads but doesnt apply styles -
i loading , using bootstrap this, styles not being applied row , col divs. in network monitor can see css being loaded, yet reason isnt doing anything. stumped here.
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css" integrity="sha384-bvyiisifek1dgmjrakycuhahrg32omucww7on3rydg4va+pmstsz/k68vbdejh4u" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgfzhoseeamdoygbf13fyquitwlaqgxvsngt4=" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-tc5iqib027qvyjsmfhjomalkfuwvxzxupncja7l2mcwnipg9mgcd8wgnicpd7txa" crossorigin="anonymous"></script> </head> <body> <div class="row"> <div class="col-4"> <label for="name">name</label> <input id="name" /> </div> </div> <div class="row"> <div class="col-4"> <label for="number">number</label> <input id="number" /> </div> </div> <table> <thead> <tr> <th>name</th> <th>number</th> </tr> </thead> </table> </body> </html> edit:
i changed link use bootstrap 4 , still isnt working
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-/y6pd6fv/vv2hjna6t+vslu6fwyxjcftcephbnj0lyafsxtsjbbfadjzaleqsn6m" crossorigin="anonymous">
<div class="row"> <div class="col-md-4"> <label for="number">number</label> <input id="number" /> </div> <div class="col-md-4"> <label for="number">number</label> <input id="number" /> </div> <div class="col-4"> <label for="number">number</label> <input id="number" /> </div> </div> maybe i'm wrong experience in bootstrap have specify screen size when you're using column features. use medium when you're building should fit across platforms.
Comments
Post a Comment