From 325962d81f24b9617bc871187ae01b77648e16df Mon Sep 17 00:00:00 2001 From: idriss112 Date: Wed, 21 Feb 2024 20:07:40 -0500 Subject: [PATCH] done --- CSS/Kasper.css | 84 +++++++++++++++++++++++++++++++++++++++++++++++++- index.html | 16 ++++++++++ 2 files changed, 99 insertions(+), 1 deletion(-) diff --git a/CSS/Kasper.css b/CSS/Kasper.css index 0198a76..195319b 100644 --- a/CSS/Kasper.css +++ b/CSS/Kasper.css @@ -1087,4 +1087,86 @@ header nav .form i { .pricing .contact-link:hover{ scale: 1.1; } -/*End Pricing*/ \ No newline at end of file +/*End Pricing*/ +/*start subscribe*/ +.subscribe{ + padding-top: var(--section-padding); + padding-bottom: var(--section-padding); + background-image: url("../images/subscribe.jpg"); + background-size: cover; + position: relative; + color: white; +} +.subscribe:before{ + content: ""; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: rgb(0 0 0 / 50%); +} +.subscribe .container { + position: relative; + display: flex; + align-items: center; + +} + +@media (max-width:991px){ + .subscribe .container{ + flex-direction: column; + } +} +.subscribe form { + display: flex; + position: relative; + width: 500px; + max-width: 100%; +} +.subscribe form i{ + position: absolute; + top: 50%; + transform: translateY(-50%); + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + -o-transform: translateY(-50%); + left: 25px; +} +.subscribe form input[type="email"]{ + border: 1px solid white; + border-right: none; + background: none; + padding: 20px 20px 20px 60px; + caret-color: var(--main-color); + width: calc(100% - 130px); +} +.subscribe form input[type="submit"]{ + width: 130px; + background-color: var(--main-color); + color: white; + padding: 10px 20px; + border: 1px solid white; + border-left: none; + +} +.subscribe form input[type="email"]:focus, +.subscribe form input[type="submit"]:focus{ + outline: none; + +} +.subscribe form ::placeholder{ + color: white; + +} +.subscribe p{ + line-height: 2; + margin-left: 50px; +} +@media (max-width: 991px){ + .subscribe p{ + margin: 30px 0 0; + } +} +/*End subscribe*/ \ No newline at end of file diff --git a/index.html b/index.html index d1250ad..e75253c 100644 --- a/index.html +++ b/index.html @@ -428,6 +428,22 @@

Platinum

+ +
+
+
+ + + +
+

+ Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Mauris blan dit aliquet elit, eget + tincidunt. +

+
+
+ + \ No newline at end of file