bootstrap
This commit is contained in:
parent
da80c46ebf
commit
3b072036d6
47
tp1.1/index.html
Normal file
47
tp1.1/index.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Document</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<!-- CSS only -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row mt-3">
|
||||
<div class="col bg-info">1e élément</div>
|
||||
<div class="col bg-warning">2e élément</div>
|
||||
<div class="col bg-success">3e élément</div>
|
||||
</div>
|
||||
<div class="row mt-3">
|
||||
<div class="col bg-danger">Danger</div>
|
||||
</div>
|
||||
<div class="row mt-3">
|
||||
<div class="col bg-info">1e element 3e ligne</div>
|
||||
<div class="col bg-success">2e element 3e ligne</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-3 bg-info">1</div>
|
||||
<div class="col-md-6 bg-warning">2</div>
|
||||
<div class="col-md-3 bg-success">3</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-4 col-md-3 bg-info">1</div>
|
||||
<div class="col-4 col-md-6 bg-warning">2</div>
|
||||
<div class="col-4 col-md-3 bg-success">3</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-12 col-md-3 col-lg-4 bg-info">1</div>
|
||||
<div class="col-12 col-md-6 col-lg-4 bg-warning">2</div>
|
||||
<div class="col-12 col-md-3 col-lg-4 bg-success">3</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<!-- JavaScript Bundle with Popper -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user