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

askuznetsov:html-css-popup #754

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
238 changes: 238 additions & 0 deletions submissions/askuznetsov/html-css-popup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
<!-- @format -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this comment is redundant here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't even see it there. wow. thnx. updated


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML CSS Popup</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header class="header">
<nav class="header__nav">
<ul class="header__nav__list">
<li class="header__nav__list__item">
<a href="" class="header__nav__list__item__link title">Mail</a>
</li>
<li class="header__nav__list__item">
<a href="" class="header__nav__list__item__link title">Images</a>
</li>
<li class="header__nav__list__item popup-svg">
<input
type="checkbox"
class="header__nav__list__item__checkbox"
id="popup__checkbox"
name="popup__checkbox" />
<label for="popup__checkbox" class="header__nav__list__item__label">
<img
src="popup-icons/popup-button.png"
alt="popup-button"
class="header__nav__list__item__image popup__icon" />
</label>
<div class="popup">
<ul class="menu">
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/calendar.png"
alt="calendar"
class="menu__item__link__image" />
<p class="menu__item__text">Calendar</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/mail.png"
alt="mail"
class="menu__item__link__image" />
<p class="menu__item__text">Mail</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/news.png"
alt="news"
class="menu__item__link__image" />
<p class="menu__item__text">News</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/maps.png"
alt="maps"
class="menu__item__link__image" />
<p class="menu__item__text">Map</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/files.png"
alt="files"
class="menu__item__link__image" />
<p class="menu__item__text">Files</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/contacts.png"
alt="contacts"
class="menu__item__link__image" />
<p class="menu__item__text">Contacts</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/tanslation.png"
alt="translation"
class="menu__item__link__image" />
<p class="menu__item__text">Translate</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/videos.png"
alt="videos"
class="menu__item__link__image" />
<p class="menu__item__text">Videos</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/search.png"
alt="search"
class="menu__item__link__image" />
<p class="menu__item__text">Search</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/photos.png"
alt="photos"
class="menu__item__link__image" />
<p class="menu__item__text">Photo</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/apps.png"
alt="apps"
class="menu__item__link__image" />
<p class="menu__item__text">Apps</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/documents.png"
alt="documents"
class="menu__item__link__image" />
<p class="menu__item__text">Document</p>
</a>
</li>
</ul>

<input
type="checkbox"
name="more__checkbox"
id="more__checkbox"
class="more__checkbox" />
<label for="more__checkbox" class="more__checkbox__label">
More...
</label>

<div class="horizontal-line"></div>

<ul class="menu additional">
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/chat.png"
alt="chat"
class="menu__item__link__image" />
<p>Chat</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/classroom.png"
alt="classroom"
class="menu__item__link__image" />
<p>Classroom</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/collection.png"
alt="collection"
class="menu__item__link__image" />
<p>Collection</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/mars.png"
alt="mars"
class="menu__item__link__image" />
<p>Mars</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/blogs.png"
alt="blogs"
class="menu__item__link__image" />
<p>Blogs</p>
</a>
</li>
<li class="menu__item">
<a href="#" class="menu__item__link">
<img
src="./popup-icons/promo.png"
alt="promo"
class="menu__item__link__image" />
<p>Promos</p>
</a>
</li>
</ul>
<a href="https://github.com/kottans" class="menu__link">
Even more from kottans
</a>
</div>
</li>
<li class="header__nav__list__item">
<a href="#">
<img
src="popup-icons/bell.png"
alt="bell"
class="header__nav__list__item__image bell__icon" />
</a>
</li>
<li class="header__nav__list__item">
<a href="#">
<img
src="./popup-icons/favicon.png"
alt="favicon"
class="header__nav__list__item__image favicon__icon" />
</a>
</li>
</ul>
</nav>
</header>
</body>
</html>
Loading