-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
HTML-CSS-Popup #743
base: main
Are you sure you want to change the base?
HTML-CSS-Popup #743
Changes from 11 commits
6a6fab0
d1022c5
b3582e2
dda9bd5
94c31a1
321918f
be70f5f
ae8df53
7369a61
fba91be
bd3ebf3
846e3f0
d9aa8e6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
<!DOCTYPE html> | ||
<html lang="ru"> | ||
<head> | ||
<title>Popup-menu</title> | ||
<link rel="stylesheet" href="style.css" /> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
</head> | ||
|
||
<body> | ||
<div class="wraper"> | ||
<header class="header"> | ||
<div class="container"> | ||
<nav class="header__menu"> | ||
<ul class="header__lists"> | ||
<li class="header__list"> | ||
<a href="#" class="header__link">Mail</a> | ||
</li> | ||
<li class="header__list"> | ||
<a href="#" class="header__link">Images</a> | ||
</li> | ||
<li class="header__list header__link"> | ||
<input | ||
type="checkbox" | ||
class="header__input" | ||
id="header__input" | ||
/> | ||
<label for="header__input" class="header__input-label"> | ||
<img | ||
src="icon/menu.png" | ||
alt="menu" | ||
class="header__logo-menu" | ||
/> | ||
</label> | ||
<div class="popup"> | ||
<ul class="header__lists-popup"> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Безпека.png" | ||
alt="Безпека" | ||
/>Безпека</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Календар.png" | ||
alt="Календар" | ||
/>Календар</a | ||
> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Read how and when to populate alt attribute value 6 simple rules for good alt-text There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I almost don’t understand, it says what not to write near decorative icons, and the text should be meaningful. Thank you. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should I remove the entire description, leave only an empty alt? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make an alt description if the picture is relevant to the content. For decorative images, use alt, which is equal to an empty string |
||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Калькулятор.png" | ||
alt="Калькулятор" | ||
/>Калькулятор</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Контакти.png" | ||
alt="Контакти" | ||
/>Контакти</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Контролер.png" | ||
alt="Контролер" | ||
/>Контролер</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Мапа.png" | ||
alt="Мапа" | ||
/>Мапа</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Новини.png" | ||
alt="Новини" | ||
/>Новини</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Нотатки.png" | ||
alt="Нотатки" | ||
/>Нотатки</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="popup-img" | ||
src="icon/Поділитися.png" | ||
alt="Поділитися" | ||
/>Поділитися</a | ||
> | ||
</li> | ||
</ul> | ||
<input | ||
type="checkbox" | ||
class="sub__check-input" | ||
id="sub__input" | ||
/> | ||
<label for="sub__input" class="sub__check-label"> | ||
Більше | ||
</label> | ||
<div class="sub__lists-popup"> | ||
<ul class="sub__lists"> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="sub__popup-img" | ||
src="icon/Поради.png" | ||
alt="Поради" | ||
/>Поради</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="sub__popup-img" | ||
src="icon/Пошта.png" | ||
alt="Пошта" | ||
/>Пошта</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="sub__popup-img" | ||
src="icon/Месенджер.png" | ||
alt="Месенджер" | ||
/>Месенджер</a | ||
> | ||
</li> | ||
<li class="popup__list"> | ||
<a href="#" class="popup__link"> | ||
<img | ||
class="sub__popup-img" | ||
src="icon/Синхронізація.png" | ||
alt="Синхронізація" | ||
/>Синхронізація</a | ||
> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</li> | ||
<li class="header__list"> | ||
<a href="#" class="header__link"> | ||
<img | ||
class="notification" | ||
src="icon/bell.png" | ||
alt="Повідомлення" | ||
/> | ||
</a> | ||
</li> | ||
<li class="header__list"> | ||
<a href="#" class="header__link"> | ||
<img class="avatar" src="icon/avatar.png" alt="Аватар" /> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</header> | ||
</div> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use English for filenames.