Skip to content

Commit

Permalink
Merge pull request #3 from mashupgarage/modal
Browse files Browse the repository at this point in the history
Modal
  • Loading branch information
raaims committed Mar 27, 2024
2 parents cab7582 + 3b06277 commit 2199d6d
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 2 deletions.
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

0 comments on commit 2199d6d

Please sign in to comment.