Bootstrap login split-page
by g4165262
HTML
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Selectable Tiles with Equal Height</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
.tile {
padding: 40px;
background-color: #f8f9fa;
text-align: left;
transition: transform 0.3s, background-color 0.3s;
cursor: pointer;
display: flex;
flex-direction: row;
justify-content: space-between;
height: 100%;
}
.tile:hover {
transform: translateY(-5px);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.icon-size {
font-size: 40px;
color: #007bff;
}
.tile h5 {
margin-top: 15px;
font-size: 1.25rem;
}
.tile p {
font-size: 0.9rem;
color: #6c757d;
margin-bottom: 0;
}
.tile.selected {
background-color: #007bff;
color: white;
}
.tile.selected p {
background-color: #007bff;
color: white;
}
.tile.selected i {
color: white;
}
.nav-buttons {
display: flex;
justify-content: space-between;
...
CSS
/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/