Bootstrap-image

임재헌·2023년 4월 3일
0

Bootstrap

목록 보기
4/11
<!DOCTYPE html>   
<html lang="ko"> 
<head>
<title>image </title>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>


<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    <h2>Rounded Corners</h2>
    <p>The .img-rounded class adds rounded corners to an image (not available in IE8):</p>            
    <img src="../images/b_muzi.png" class="img-rounded" alt="Cinque Terre" width="304" height="236"> 
    <h2>Circle</h2>
    <p>The .img-circle class shapes the image to a circle (not available in IE8):</p>            
    <img src="../images/b_muzi.png" class="img-circle" alt="Cinque Terre" width="304" height="236">
    <h2>Thumbnail</h2>
    <p>The .img-thumbnail class creates a thumbnail of the image:</p>            
    <img src="../images/b_muzi.png" class="img-thumbnail" alt="Cinque Terre" width="304" height="236">     
    <h2>Image</h2>
    <p>The .img-responsive class makes the image scale nicely to the parent element (resize the browser window to see the effect):</p>
    <img class="img-responsive" src="../images/b_muzi.png" alt="Chania" width="460" height="345"> 
</body>
</html>

0개의 댓글