diff --git a/css/header.css b/css/header.css index c0e8721..41d9905 100644 --- a/css/header.css +++ b/css/header.css @@ -1,21 +1,24 @@ .header { margin: auto; padding: 1.5rem; - padding-bottom: 0rem; + padding-bottom: 0.5rem; text-align: center; display: flex; font-size: large; + overflow: hidden; + height: auto; } .logo { display: flex; - width: 48pt; + height: 3.5rem; } .header-items { - padding-right: 1rem; margin: auto; - margin-right: 0px; + /* padding-right: 1rem; + margin-right: 0px; */ + margin-left: 0px; display: flex; float: right; right: 0px; @@ -23,10 +26,26 @@ text-align: right; } +.header-items .menu-icon { + display: none; + font-size: larger; +} + .header-item { margin-left: 2.5rem } +.dropdown { + float: left; + overflow: hidden; +} + +.dropdown .dropbtn { + border: none; + outline: none; + margin: 0; +} + .dropdown-content { display: none; position: absolute; @@ -36,6 +55,58 @@ z-index: 1; } +.dropdown-content a { + float: none; + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; + text-align: left; +} + +.dropdown-content a:hover { + background-color: #ddd; +} + .dropdown:hover .dropdown-content { display: block; +} + +@media screen and (max-width: 600px) { + .header-items .dropdown .dropbtn { + display: none; + } + .header-items .header-item { + display: none; + } + .header-items a.menu-icon { + float: right; + display: block; + } +} + +@media screen and (max-width: 600px) { + .header-items.responsive {position: relative;} + .header-items.responsive .menu-icon { + position: absolute; + right: 0; + top: 0; + } + .header-items.responsive a { + float: none; + display: block; + text-align: left; + } + .header-items.responsive .dropdown {float: none;} + .header-items.responsive .dropdown-content {position: relative;} + .header-items.responsive .dropdown .dropbtn { + display: block; + width: 100vw; + text-align: left; + } + .header-items.responsive .header-item { + display: block; + width: 100vw; + text-align: left; + } } \ No newline at end of file diff --git a/index.html b/index.html index 91be37d..809782c 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@
-
+ +
- -
-
-
-
-
-
-
- -
-
- -
-
-
- - -
-
-
- -
-
-

- Data to enrich your - online business -

-

- Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua. -

- -
-
-
-
-
- -
-
- -
-
-
-

Transactions

-

- A better way to send money -

-

- Lorem ipsum dolor sit amet consect adipisicing elit. Possimus magnam voluptatum cupiditate veritatis in accusamus quisquam. -

-
- -
-
-
-
-
- - -
-
-
-
- Competitive exchange rates -
-
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione. -
-
-
- -
-
-
- - -
-
https://www.youtube.com/watch?v=jqTSAtU-HRA -
- No hidden fees -
-
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione. -
-
-
- -
-
-
- - -
-
-
-
- Transfers are instant -
-
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione. -
-
-
- -
-
-
- - -
-
-
-
- Mobile notifications -
-
- Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor cupiditate blanditiis ratione. -
-
-
- -
-
- - -
-
-

- Ready to dive in? - Start your free trial today. -

- -
-
+ +