diff --git a/newsletter-sign-up-with-success-message-main/index.html b/newsletter-sign-up-with-success-message-main/index.html index 8e7329b..d1dcae2 100644 --- a/newsletter-sign-up-with-success-message-main/index.html +++ b/newsletter-sign-up-with-success-message-main/index.html @@ -5,6 +5,7 @@ + Frontend Mentor | Newsletter sign-up form with success message @@ -14,11 +15,34 @@ .attribution a { color: hsl(228, 45%, 44%); } - + + +
+
+
+

Stay updated!

+
+

Join 60,000+ product managers receiving monthly updates on:

+
+ + Product discovery and building what matters
+ + Product discovery and building what matters
+ + Product discovery and building what matters
+
+

Email addres:

+

+ +
+
+ Italian Trulli +
+
- Stay updated! + - Thanks for subscribing! + -
- Challenge by Frontend Mentor. - Coded by Your Name Here. -
\ No newline at end of file diff --git a/newsletter-sign-up-with-success-message-main/styles.css b/newsletter-sign-up-with-success-message-main/styles.css new file mode 100644 index 0000000..d78795d --- /dev/null +++ b/newsletter-sign-up-with-success-message-main/styles.css @@ -0,0 +1,60 @@ +.container{ + border-radius: 25px; + margin: 0; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 800px; + height:600px; + display: grid; + background-color: white; + grid-template-columns: 1fr 1fr; + border: 1px solid white; +} + + + +.container img { + width: 95%; + height: 100%; + object-fit: fill; +} + +.text { + padding-left: 40px; + padding-block: 80px; + padding-right: 40px; +} +.title{ + font-size: 25px; +} + +.opimg{ +max-height: 15px; +max-width:25px; +} + +.data{ + padding-left: 5px; + font-size: 14px; +} + +.emailTitle{ + font-size: 14px; +} + +#email{ + display: flex; + width: 300px; + height: 8%; +} +.subbtn{ + display: flex; + width: 308px; + height: 8%; + justify-content: center; + align-items: center; + background-color: hsl(234, 29%, 20%); + color: white; +} \ No newline at end of file