img
n. Cela signifie ? image ? dans la production de pages Web ; l'abréviation de image signifie image. ;[Médical][=ganglions mésentériques inférieurs]Ganglions mésentériques inférieurs
réactif
英[r??sp?ns?v] US[r??spɑ:ns?v]
adj.Réactif, réactif;
Style réactif à l'image Bootstrap syntaxe
Fonction?: Image réactive (s'étendra bien aux éléments parents)
Style réactif à l'image Bootstrap exemple
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>圖片</h2> <p> .img-responsive類讓圖片支持響應(yīng)式,將很好地?cái)U(kuò)展到父元素 (通過改變窗口大小查看效果):</p> <img src="http://img.php.cn/upload/article/000/005/6 56/5af270fd37755429.jpg" class="img-responsive" alt="Cinque Terre" width="304" height="236"> </div> </body> </html>
Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne