diff --git a/Lamp website design/Images/lamp.png b/Lamp website design/Images/lamp.png new file mode 100644 index 00000000..b779befe Binary files /dev/null and b/Lamp website design/Images/lamp.png differ diff --git a/Lamp website design/Images/light.png b/Lamp website design/Images/light.png new file mode 100644 index 00000000..3690f0b6 Binary files /dev/null and b/Lamp website design/Images/light.png differ diff --git a/Lamp website design/Images/logo.png b/Lamp website design/Images/logo.png new file mode 100644 index 00000000..ac661285 Binary files /dev/null and b/Lamp website design/Images/logo.png differ diff --git a/Lamp website design/Images/menu.png b/Lamp website design/Images/menu.png new file mode 100644 index 00000000..fc55837b Binary files /dev/null and b/Lamp website design/Images/menu.png differ diff --git a/Lamp website design/index.html b/Lamp website design/index.html new file mode 100644 index 00000000..8b41699f --- /dev/null +++ b/Lamp website design/index.html @@ -0,0 +1,48 @@ + + + + + A Mordern Website Using HTML CSS & JavaScript + + +
+ + +
+ + +
+ +
+

A Mordern Website Using HTML CSS & JavaScript

+ Check All Collection +
+

04

+
+

05

+
+
+ +
+ + + \ No newline at end of file diff --git a/Lamp website design/style.css b/Lamp website design/style.css new file mode 100644 index 00000000..d4f8d8d3 --- /dev/null +++ b/Lamp website design/style.css @@ -0,0 +1,126 @@ +*{ + margin: 0; + padding: 0; + font-family: cursive; + box-sizing: border-box; +} + + +.hero{ + background: #1d2026; + min-height: 100vh; + width: 100%; + color: #fff; + position: relative; +} +nav{ + display: flex; + align-items: center; + padding: 20px 8%; +} +nav .menu-img{ + width: 25px; + margin-right: 20px; + cursor: pointer; +} +nav .logo{ + width: 160px; + cursor: pointer; +} +nav ul{ + flex: 1; + text-align: right; +} +nav ul li{ + display: inline-block; + list-style: none; + margin: 0 20px; +} +nav ul li a{ + text-decoration: none; + color: white; +} +button{ + background: #efefef; + height: 30px; + width: 60px; + border-radius: 20px; + border: 0; + outline: 0; + pointer: cursor; + transition: background 0.5s; +} +button span{ + display: block; + background: #999; + height: 26px; + width: 26px; + border-radius: 50%; + margin-left: 2px; + transition: background 0.5s, margin-left 0.5s; +} +.lamp-container{ + position: absolute; + top: -20px; + left: 22%; + width: 200px; +} +.lamp{ + width: 100%; +} +.light{ + position: absolute; + top: 98%; + left: 50%; + transform: translateX(-50%); + width: 700px; + margin-left: -10px; + opacity: 0; + transition: opacity 0.5s; +} +.text-cointerner{ + max-width: 600px; + margin-top: 7%; + margin-left: 50%; +} +.text-cointerner a{ + text-decoration: none; + background: #00986f; + padding: 14px 40px; + display: inline-block; + color: #fff; + font-size: 18px; + margin-top: 30px; + border-radius: 30px; +} +.control{ + display: flex; + align-items: center; + justify-content: flex-end; + margin-top: 150px; +} +.control .line{ + width: 250px; + height: 4px; + background: #fff; + margin: 0 20px; + border-radius: 2px; +} +.control .line span{ + width: 50%; + height: 8px; + margin-top: -2px; + border-radius: 4px; + background: #00986f; + display: block; +} +.active{ + background: red; +} +.active span{ + background: #fff; + margin-left: 31px; +} +.on{ + opacity: 1; +} \ No newline at end of file