Skip to content

Commit

Permalink
bootstrap example
Browse files Browse the repository at this point in the history
  • Loading branch information
rbabyuk-vs committed Aug 27, 2024
1 parent 193fd43 commit c9a9a10
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lecture15/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.row {
margin-bottom: 15px;
}
.row > div {
border: 2px solid rgb(152, 186, 188);
background-color: rgb(222, 222, 222);
}
33 changes: 33 additions & 0 deletions lecture15/grid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap Starter Page</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>

<div class="container-fluid">
<div class="row">
<div class="col-md-4 col-sm-6">Col 1</div>
<div class="col-md-4 col-sm-6">Col 2</div>
<div class="col-md-4 col-sm-6">Col 3</div>
</div>

<div class="row">
<div class="col-md-4 col-sm-6">Col 1</div>
<div class="col-md-4 col-sm-6">Col 2</div>
<div class="col-md-4 col-sm-6">Col 3</div>
</div>

<div class="row">
<div class="col-xs-6">Col 1</div>
<div class="col-xs-6">Col 2</div>
<div class="col-xs-6">Col 3</div>
</div>
</div>
</body>
</html>

0 comments on commit c9a9a10

Please sign in to comment.