1
0
Fork 0

Add tilt effect to checklist cards

master
Emil Miler 2 years ago
parent 00f31273f9
commit 68f6b42e5e

@ -35,21 +35,21 @@
<h1>Učitleský checklist</h1> <h1>Učitleský checklist</h1>
<p>Phasellus porta, velit sit amet varius laoreet, libero ex hendrerit diam, et commodo magna est non odio. Donec lacinia fringilla egestas. Nullam quis urna sit amet eros dignissim varius in non justo. In hac habitasse platea dictumst. Maecenas quis nisi mollis, fringilla justo et, eleifend purus. Donec convallis fringilla sem.</p> <p>Phasellus porta, velit sit amet varius laoreet, libero ex hendrerit diam, et commodo magna est non odio. Donec lacinia fringilla egestas. Nullam quis urna sit amet eros dignissim varius in non justo. In hac habitasse platea dictumst. Maecenas quis nisi mollis, fringilla justo et, eleifend purus. Donec convallis fringilla sem.</p>
<div class="checklist"> <div class="checklist">
<div class="card"> <div class="card" data-tilt>
<img src="static/pedf-logo-white.svg" alt=""> <img src="static/pedf-logo-white.svg" alt="">
<div class="title"> <div class="title">
Pěstounská péče Pěstounská péče
</div> </div>
<p>Et quasi reprehenderit architecto enim dicta modi consequuntur delectus.</p> <p>Et quasi reprehenderit architecto enim dicta modi consequuntur delectus.</p>
</div> </div>
<div class="card"> <div class="card" data-tilt>
<img src="static/pedf-logo-white.svg" alt=""> <img src="static/pedf-logo-white.svg" alt="">
<div class="title"> <div class="title">
Pěstounská péče Pěstounská péče
</div> </div>
<p>Et quasi reprehenderit architecto enim dicta modi consequuntur delectus.</p> <p>Et quasi reprehenderit architecto enim dicta modi consequuntur delectus.</p>
</div> </div>
<div class="card"> <div class="card" data-tilt>
<img src="static/pedf-logo-white.svg" alt=""> <img src="static/pedf-logo-white.svg" alt="">
<div class="title"> <div class="title">
Pěstounská péče Pěstounská péče
@ -138,5 +138,7 @@
<p>&copy; 2023 Domů nevidíš</p> <p>&copy; 2023 Domů nevidíš</p>
<p class="text-bold">Neziskový projekt Pedagogické fakulty Univerzity Karlovy.</p> <p class="text-bold">Neziskový projekt Pedagogické fakulty Univerzity Karlovy.</p>
</footer> </footer>
<script type="text/javascript" src="/static/js/vanilla-tilt.js"></script>
</body> </body>
</html> </html>

@ -48,7 +48,7 @@ section {
.checklist { .checklist {
display: flex; display: flex;
gap: 1em; gap: 1em;
overflow: scroll; overflow: visible;
margin-top: 3em; margin-top: 3em;
padding: 0 2em; padding: 0 2em;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save