Skip to content

Instantly share code, notes, and snippets.

@neno-tech
Created December 11, 2021 03:40
Show Gist options
  • Save neno-tech/ea2967795c5fac61e197f7f7351de9ba to your computer and use it in GitHub Desktop.
Save neno-tech/ea2967795c5fac61e197f7f7351de9ba to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<base target="_top">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<style>
body {
background: #eee;
}
.frame {
box-shadow: 10px 10px 15px rgb(193, 182, 182), -6px -6px 15px #eee;
padding: 20px;
max-width: 480px;
margin: 40px auto;
margin-top: 50px;
border-radius: 7px;
background: white;
}
button {
text-transform: uppercase;
transition: transform 80ms ease-in;
border-radius: 7px;
}
button:active {
transform: scale(0.95);
color: white
}
.btn.focus,
.btn:focus {
outline: 0;
box-shadow: none !important;
color: white;
}
.btn-info:hover {
background-color: gold;
color: white;
border-color: gold;
}
.btn-info {
color: white;
}
.box {
border: 1px solid rgba(0, 0, 0, 0.2);
padding: 1.5rem;
margin-left: 10px;
margin-right: 10px;
border-radius: 13px;
margin: auto;
width: 100%;
}
.inp {
border: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 0px;
padding: 5px 10px;
outline: none;
}
[placeholder]:focus::-webkit-input-placeholder {
transition: text-indent 0.4s 0.4s ease;
text-indent: -100%;
opacity: 1;
}
.inp.focus,
.inp:focus {
outline: 0;
box-shadow: none !important;
/* color: green; */
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
<div class="container">
<div class="row frame">
<h5 class="mt-4 text-center">รายงานการมาเรียนประจำวัน</h5>
<h6 class="mb-4 text-center">โรงเรียนอภิวัฒน์ สอนสร้างสื่อวิทยาคม</h6>
<!-- สร้างตาราง -->
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.1/dist/umd/popper.min.js"
integrity="sha384-SR1sx49pcuLnqZUnnPwx6FCym0wLsk5JZuNx2bPPENzswTNFaQU1RDvt3wT4gWFG" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.min.js"
integrity="sha384-j0CNLUeiqtyaRmlzUHCPZ+Gy5fQu0dQ6eZ/xAww941Ai1SxSY+0EQqNXNE6DZiVc" crossorigin="anonymous">
</script>
<!-- //----คำสั่ง -->
<script>
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment