You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

155 lines
3.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" a href="./index.css" />
<title>Bootstrap Introduction and Simple Styles</title>
</head>
<body class="text-center bg-secondary">
<div class="container-fluid">
<h1>Bootstrap Introduction and Simple Styles</h1>
<div class="d-none d-lg-inline-block w-25 mt-4">
<img src="https://www.drupal.org/files/project-images/bootstrap-stack.png" class="rounded-circle bg-white img-fluid">
</div>
<h2>Bootstrap Color Classes</h2>
<table class="table table-dark table-bordered">
<thead>
<tr>
<th>Text</th>
<th>Background</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="#" class="text-primary">Primary link</a>
</td>
<td class="bg-primary text-white">Primary</td>
</tr>
<tr>
<td>
<a href="#" class="text-secondary">Secondary link</a>
</td>
<td class="bg-secondary text-white">Secondary</td>
</tr>
<tr>
<td>
<a href="#" class="text-success">Success link</a>
</td>
<td class="bg-success text-white">Success</td>
</tr>
<tr>
<td>
<a href="#" class="text-danger">Danger link</a>
</td>
<td class="bg-danger text-white">Danger</td>
</tr>
<tr>
<td>
<a href="#" class="text-warning">Warning link</a>
</td>
<td class="bg-warning text-white">Warning</td>
</tr>
<tr>
<td>
<a href="#" class="text-info">Info link</a>
</td>
<td class="bg-info text-white">Info</td>
</tr>
<tr>
<td>
<a href="#" class="text-light">Light link</a>
</td>
<td class="bg-light text-dark">Light</td>
</tr>
<tr>
<td>
<a href="#" class="text-dark">Dark link</a>
</td>
<td class="bg-dark text-white">Dark</td>
</tr>
<tr>
<td>
<a href="#" class="text-muted">Muted link</a>
</td>
<td class="bg-transparent text-white">Transparent</td>
</tr>
<tr>
<td>
<a href="#" class="text-white">White link</a>
</td>
<td class="bg-white text-white">White</td>
</tr>
</tbody>
</table>
<!-- Bootstrap Text Alignment Classes Table -->
<h2>Bootstrap Text Classes</h2>
<table class="table table-dark text-light table-bordered">
<thead>
<tr>
<th>Alignment</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left">Left</td>
</tr>
<tr>
<td class="text-center">Center</td>
</tr>
<tr>
<td class="text-right">Right</td>
</tr>
<!-- For extra small screens or small mobile phones, we can avoid using breakpoints -->
<!-- All mobile views in Google Chrome browser are considered small screen sizes -->
<!-- Screen size is greater than or equal to 576px -->
<!-- Larger mobile phones -->
<tr>
<td class="text-sm-center">Small Center</td>
</tr>
<!-- Screen size is greater than or equal to 786px -->
<!-- Tablets -->
<tr>
<td class="text-md-left">Medium Left</td>
</tr>
<!-- Screen size is greater than or equal to 992px -->
<!-- Desktop -->
<tr>
<td class="text-lg-right">Large Right</td>
</tr>
<!-- Screen size is greater than or equal to 1200px -->
<!-- TV and other larger screens -->
<tr>
<td class="text-xl-left">Extra Large Left</td>
</tr>
</tbody>
</table>
</div>
<!-- Bootstrap Script -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
</body>
</html>