Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal #3

Merged
merged 2 commits into from Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/dvd-screensaver.md
@@ -1,6 +1,6 @@
---
slug: '/dvd-screensaver'
date: '2023-01-04'
date: '2024-01-04'
title: 'DVD Screensaver'
type: 'css'
image: '../images/dvd-screensaver.gif'
Expand Down
2 changes: 1 addition & 1 deletion src/content/hamburger-menu.md
@@ -1,6 +1,6 @@
---
slug: '/hamburger-menu'
date: '2023-02-29'
date: '2024-02-29'
title: 'Hamburger Menu'
type: 'css'
image: '../images/hamburger-menu.gif'
Expand Down
37 changes: 37 additions & 0 deletions src/content/modal.md
@@ -0,0 +1,37 @@
---
slug: "/modal"
date: "2024-03-14"
title: "Modal"
type: "css"
image: "../images/modal.gif"
codepen: "https://codepen.io/kirblitz/pen/ExJgPvx"
author: "Kirby Borromeo"
github: "https://github.com/kerdaddyb"
entries:
- name: 'Ady'
url: 'https://codepen.io/adycastueras/pen/rNbMMGE'
- name: 'Franco'
url: 'https://codepen.io/notco/pen/PogGGJO'
- name: 'Patrick'
url: 'https://codepen.io/janpatrick-dev/pen/gOywwXG'
- name: 'Kim'
url: 'https://codepen.io/Kim-Klinton-Vale/pen/WNWGGXK'
- name: 'Via'
url: 'https://codepen.io/Vianca-Andrea-Maulion/pen/bGJwwoM'
- name: 'Tams'
url: 'https://codepen.io/tkevinmatt/pen/eYoddjq'
---

- βŒ› You have 15 minutes to implement this, take your time (but not too much)!
- πŸ’… Feel free to embellish and make it pretty!
- πŸ“¦ Some basic CSS is provided for you. There are some `TODO` comments in there to help you out.
- πŸ§™ You can search online if you get stuck.
- πŸŽ‰ When you're done, `Fork` 🍴 the Codepen page and share with us the URL.

<p align='center'>* * *</p>

## Tips and hints

- Use `transform` and `position properties` to position the elements.
- Don't forget to put `pointer-events` property.
- Use the `:target` pseudo element. Go wild!
Binary file added src/images/modal.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions yarn.lock
Expand Up @@ -4246,6 +4246,11 @@ date-fns@^2.30.0:
dependencies:
"@babel/runtime" "^7.21.0"

date-fns@^3.3.1:
version "3.4.0"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-3.4.0.tgz#19ac3c19a39af64acb21c23587cb08504dcdc3de"
integrity sha512-Akz4R8J9MXBsOgF1QeWeCsbv6pntT5KCPjU0Q9prBxVmWJYPLhwAIsNg3b0QAdr0ttiozYLD3L/af7Ra0jqYXw==

debug@2, debug@2.6.9, debug@^2.6.0:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
Expand Down