<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: George-Florin Petrila</title>
    <description>The latest articles on DEV Community by George-Florin Petrila (@georgeflorin).</description>
    <link>https://dev.to/georgeflorin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1006841%2F45519f62-ae59-4998-9a89-93d6b5c7d43c.png</url>
      <title>DEV Community: George-Florin Petrila</title>
      <link>https://dev.to/georgeflorin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/georgeflorin"/>
    <language>en</language>
    <item>
      <title>Instagram log in page remade with HTML, CSS and JS</title>
      <dc:creator>George-Florin Petrila</dc:creator>
      <pubDate>Thu, 26 Jan 2023 13:35:51 +0000</pubDate>
      <link>https://dev.to/georgeflorin/instagram-log-in-page-remade-with-html-css-and-js-18im</link>
      <guid>https://dev.to/georgeflorin/instagram-log-in-page-remade-with-html-css-and-js-18im</guid>
      <description>&lt;p&gt;In this project, I attempted to remake the log in page of Instagram, using HTML, CSS and some JavaScript.&lt;/p&gt;

&lt;p&gt;A screenshot of the final product:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47z8o46i8syq3j371v71.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47z8o46i8syq3j371v71.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the &lt;a href="https://codepen.io/georgeflorinp1/full/YzjLKQJ" rel="noopener noreferrer"&gt;Codepen demo&lt;/a&gt; of the project.&lt;/p&gt;

&lt;p&gt;Tools I used: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Visual Studio Code;&lt;/li&gt;
&lt;li&gt;Codepen;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/colorpick-eyedropper/ohcpnigalekghcmgcdcenkpelffpdolg" rel="noopener noreferrer"&gt;ColorPick Eyedropper&lt;/a&gt;, a Chrome extension for finding out the exact color of certain pages, buttons etc.;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://chrome.google.com/webstore/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm" rel="noopener noreferrer"&gt;WhatFont&lt;/a&gt;, a Chrome extension that is useful for finding out the font, font weight and font size;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The HTML code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;body&amp;gt;
  &amp;lt;div class="left"&amp;gt;
    &amp;lt;div class="phone-container"&amp;gt;
      &amp;lt;img src="https://static.cdninstagram.com/rsrc.php/v3/y4/r/ItTndlZM2n2.png" class="ig-phone" /&amp;gt;
      &amp;lt;img src="https://news-cdn.softpedia.com/images/news2/ios-14-reveals-unexpected-instagram-app-camera-access-company-says-it-s-a-bug-530623-2.jpg" class="screenshot" /&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;div class="right"&amp;gt;
    &amp;lt;div class="login-box"&amp;gt;
      &amp;lt;div class="logo-box"&amp;gt;
        &amp;lt;img src="https://logos-download.com/wp-content/uploads/2016/03/Instagram_Logo_2016.png" class="instagram-logo" /&amp;gt;
      &amp;lt;/div&amp;gt;
      &amp;lt;input type="text" placeholder="Phone number, username, or email" /&amp;gt;
      &amp;lt;input type="password" placeholder="Password" /&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;button&amp;gt;Log in&amp;lt;/button&amp;gt;
      &amp;lt;h3&amp;gt;
        &amp;lt;span&amp;gt;OR&amp;lt;/span&amp;gt;
      &amp;lt;/h3&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;a href="https://www.facebook.com/login.php?skip_api_login=1&amp;amp;api_key=124024574287414&amp;amp;kid_directed_site=0&amp;amp;app_id=124024574287414&amp;amp;signed_next=1&amp;amp;next=https%3A%2F%2Fwww.facebook.com%2Fdialog%2Foauth%3Fclient_id%3D124024574287414%26redirect_uri%3Dhttps%253A%252F%252Fwww.instagram.com%252Faccounts%252Fsignup%252F%26state%3D%257B%2522fbLoginKey%2522%253A%2522y3enoe1j17wzqao4unekcmnl017ppm2cxhokp511nxkw010ixsv8%2522%252C%2522fbLoginReturnURL%2522%253A%2522%252Ffxcal%252Fdisclosure%252F%253Fnext%253D%25252F%2522%257D%26scope%3Demail%26response_type%3Dcode%252Cgranted_scopes%26locale%3Den_US%26ret%3Dlogin%26fbapp_pres%3D0%26logger_id%3D7119b5c9-e6ef-436c-a7e0-88bee3247f2a%26tp%3Dunspecified&amp;amp;cancel_url=https%3A%2F%2Fwww.instagram.com%2Faccounts%2Fsignup%2F%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%26state%3D%257B%2522fbLoginKey%2522%253A%2522y3enoe1j17wzqao4unekcmnl017ppm2cxhokp511nxkw010ixsv8%2522%252C%2522fbLoginReturnURL%2522%253A%2522%252Ffxcal%252Fdisclosure%252F%253Fnext%253D%25252F%2522%257D%23_%3D_&amp;amp;display=page&amp;amp;locale=ro_RO&amp;amp;pl_dbl=0" class="facebook"&amp;gt;Log in with Facebook&amp;lt;/a&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;a href="https://www.instagram.com/accounts/password/reset/" class="forgot"&amp;gt;Forgot password?&amp;lt;/a&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="sign-up-box"&amp;gt;
      &amp;lt;h4&amp;gt;Don't have an account?&amp;lt;/h4&amp;gt;
      &amp;lt;a href="https://www.instagram.com/accounts/emailsignup/" class="sign-up"&amp;gt;Sign up&amp;lt;/a&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="app-install"&amp;gt;
      &amp;lt;h4&amp;gt;Get the app.&amp;lt;/h4&amp;gt;
      &amp;lt;a href="https://play.google.com/store/apps/details?id=com.instagram.android&amp;amp;referrer=utm_source%3Dinstagramweb%26utm_campaign%3DloginPage%26ig_mid%3D3F25D538-56F0-44F6-B0D3-2DDB3EB0F2E4%26utm_content%3Dlo%26utm_medium%3Dbadge"&amp;gt;
        &amp;lt;img src="https://static.cdninstagram.com/rsrc.php/v3/yz/r/c5Rp7Ym-Klz.png" class="google" /&amp;gt;
      &amp;lt;/a&amp;gt;
      &amp;lt;a href="https://apps.microsoft.com/store/detail/instagram/9NBLGGH5L9XT"&amp;gt;
        &amp;lt;img src="https://static.cdninstagram.com/rsrc.php/v3/yu/r/EHY6QnZYdNX.png" class="microsoft" /&amp;gt;
      &amp;lt;/a&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;br /&amp;gt;
  &amp;lt;div id="footer"&amp;gt;
    &amp;lt;div class="footer-link-container"&amp;gt;
      &amp;lt;a href="https://about.meta.com/" class="footer-link"&amp;gt;Meta&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://about.instagram.com/" class="footer-link"&amp;gt;About&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://about.instagram.com/blog" class="footer-link"&amp;gt;Blog&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://about.instagram.com/about-us/careers" class="footer-link"&amp;gt;Jobs&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://help.instagram.com/" class="footer-link"&amp;gt;Help&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://developers.facebook.com/docs/instagram" class="footer-link"&amp;gt;API&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://privacycenter.instagram.com/policy/?entry_point=ig_help_center_data_policy_redirect" class="footer-link"&amp;gt;Privacy&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://help.instagram.com/581066165581870/" class="footer-link"&amp;gt;Terms&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://www.instagram.com/directory/profiles/" class="footer-link"&amp;gt;Top Accounts&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://www.instagram.com/explore/locations/" class="footer-link"&amp;gt;Locations&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://www.instagram.com/web/lite/" class="footer-link"&amp;gt;Instagram Lite&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://www.facebook.com/help/instagram/261704639352628" class="footer-link"&amp;gt;Contact Uploading &amp;amp; Non-Users&amp;lt;/a&amp;gt;
      &amp;lt;a href="https://help.instagram.com/397451835844752" class="footer-link"&amp;gt;Digital Collectibles Privacy Notice&amp;lt;/a&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;br /&amp;gt;
    &amp;lt;div class="footer-details"&amp;gt;
      &amp;lt;div class="dropdown"&amp;gt;
        &amp;lt;span onclick="myFunction()" class="drop-btn"&amp;gt;English&amp;lt;/span&amp;gt;
        &amp;lt;div id="myDropdown" class="dropdown-content"&amp;gt;
          &amp;lt;p&amp;gt;Română&amp;lt;/p&amp;gt;
          &amp;lt;p&amp;gt;Deutsch&amp;lt;/p&amp;gt;
          &amp;lt;p&amp;gt;Dansk&amp;lt;/p&amp;gt;
          &amp;lt;p&amp;gt;Polski&amp;lt;/p&amp;gt;
          &amp;lt;p&amp;gt;Español&amp;lt;/p&amp;gt;
          &amp;lt;p&amp;gt;English (UK)&amp;lt;/p&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
      &amp;lt;p&amp;gt;© 2023 Instagram from Meta&amp;lt;/p&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The CSS code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;html * {
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background-color: #fafafa;
  width: 100%;
  padding: 0;
  display: block;
  font-family: "Segoe UI", Arial, sans-serif;
}

.left {
  float: left;
  width: 50%;
}

.right {
  float: right;
  width: 50%;
}

.login-box {
  background-color: #ffffff;
  width: 350px;
  height: 400px;
  border: 1px solid #dbdbdb;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 40px;
}

.logo-box {
  margin: 4px;
  display: inline-block;
}

.instagram-logo {
  width: 150px;
  cursor: pointer;
  margin-top: 40px;
  margin-bottom: 35px;
}

input {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  width: 250px;
  height: 25px;
  padding: 7px;
  margin: 0 40px 6px;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  background-color: #fafafa;
}

input:focus {
  outline: none;
}

button {
  background-color: #4db5f9;
  color: white;
  text-align: center;
  width: 265px;
  height: 30px;
  border: none;
  border-radius: 7px;
  font-weight: bold;
  margin-top: 7px;
  margin-bottom: 10px;
}

a {
  text-decoration: none;
}

.sign-up-box {
  background-color: #ffffff;
  width: 350px;
  height: 60px;
  display: flex;
  justify-content: center;
  border: 1px solid #dbdbdb;
  margin: 0 0 10px;
}

.sign-up {
  color: #00a2f8;
  font-weight: 600;
  font-size: 14px;
  margin-top: 18.5px;
}

h3 {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #dbdbdb;
  line-height: 0.1em;
  margin: 10px 0 20px;
  color: #998e8e;
  font-weight: 600;
  font-size: 13px;
}

h3 span {
  background: #fff;
  margin: 4px;
}

.facebook {
  font-weight: 600;
  font-size: 14px;
  margin-top: 26px;
  color: #385185;
}

.forgot {
  font-weight: 400;
  font-size: 12px;
  margin-top: 26px;
  color: #00376B;
}

.app-install {
  text-align: center;
  width: 350px;
}

h4 {
  font-weight: 400;
  font-size: 14px;
  margin-right: 5px;
}

.google {
  width: 125px;
  cursor: pointer;
}

.microsoft {
  width: 100px;
  cursor: pointer;
  margin-left: 5px;
}

#footer {
  width: 100%;
  text-align: center;
  position: fixed;
  bottom: 0;
}

.footer-link-container {
  text-align: center;
}

.footer-link {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 12px;
  margin: 0px 5px 0px 5px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-details {
  text-align: center;
  display: flex;
  justify-content: center;
}

p {
  color: #8e8e8e;
  font-weight: 400;
  font-size: 12px;
}

.dropdown {
  display: inline-block;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top: 1px;
  bottom: 50%;
  background-color: #ffffff;
  min-width: 115px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:click .dropdown-content {
  display: block;
}

.drop-btn {
  background: transparent;
  color: #8e8e8e;
  padding: 10px;
  font-weight: 400;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.drop-btn:hover,
.drop-btn:focus {
  background-color: transparent;
}

.show {
  display: block;
}

.phone-container {
  margin: auto;
  width: 50%;
}

.ig-phone {
  background-repeat: no-repeat;
  background-size: cover;
  height: 580px;
  position: absolute;
  left: 340px;
  margin-top: 40px;
}

.screenshot {
  background-size: contain;
  height: 490px;
  position: absolute;
  left: 484px;
  margin-top: 65px;
  border-radius: 10px;
}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the JavaScript code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/*Toggle dropdown content*/
function myFunction() {
    document.getElementById("myDropdown").classList.toggle("show");
  }

  // Close dropdown if user clicks outside of it
  window.onclick = function (event) {
    if (!event.target.matches(".drop-btn")) {
      var dropdowns = document.getElementsByClassName("dropdown-content");
      var i;
      for (i = 0; i &amp;lt; dropdowns.length; i++) {
        var openDropdown = dropdowns[i];
        if (openDropdown.classList.contains("show")) {
          openDropdown.classList.remove("show");
        }
      }
    }
  };

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The functionality of the dropdown language menu was created using &lt;a href="https://www.w3schools.com/howto/howto_js_dropdown.asp" rel="noopener noreferrer"&gt;this code&lt;/a&gt; from W3Schools.&lt;/p&gt;

&lt;p&gt;Feel free to post your feedback.&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>javascript</category>
      <category>codepen</category>
    </item>
    <item>
      <title>HTML/CSS landing page</title>
      <dc:creator>George-Florin Petrila</dc:creator>
      <pubDate>Mon, 23 Jan 2023 14:48:48 +0000</pubDate>
      <link>https://dev.to/georgeflorin/htmlcss-landing-page-j52</link>
      <guid>https://dev.to/georgeflorin/htmlcss-landing-page-j52</guid>
      <description>&lt;p&gt;This is a simple landing page I've created using HTML and CSS. Stylistically, it is similar to the screens I've previewed in &lt;a href="https://dev.to/georgeflorin/log-insign-uppassword-reset-screen-made-with-html-and-css-4d15"&gt;my previous post&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codepen.io/georgeflorinp1/pen/PoBjOGv" rel="noopener noreferrer"&gt;Codepen demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First, the HTML code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;body&amp;gt;
  &amp;lt;div id="main"&amp;gt;
    &amp;lt;div class="navbar"&amp;gt;
      &amp;lt;button href="url" class="logo"&amp;gt;&amp;lt;/button&amp;gt;
      &amp;lt;div class="menu-container"&amp;gt;
        &amp;lt;a href="url"&amp;gt;Log in&amp;lt;/a&amp;gt;
        &amp;lt;a href="url"&amp;gt;Sign up&amp;lt;/a&amp;gt;
        &amp;lt;a href="url"&amp;gt;About&amp;lt;/a&amp;gt;
        &amp;lt;a href="url"&amp;gt;Contact&amp;lt;/a&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div&amp;gt;
      &amp;lt;h1 class="welcome"&amp;gt;Welcome&amp;lt;/h1&amp;gt;
      &amp;lt;button class="start-btn"&amp;gt;Get started&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;hr&amp;gt;
  &amp;lt;div id="middle"&amp;gt;
    &amp;lt;button class="panel"&amp;gt;
      &amp;lt;h1&amp;gt;Free&amp;lt;/h1&amp;gt;
      &amp;lt;h4&amp;gt;
        Features: &amp;lt;br /&amp;gt;
        - 6 skips/hour &amp;lt;br /&amp;gt;
        - ads &amp;lt;br /&amp;gt;
        - available on one device &amp;lt;br /&amp;gt;
      &amp;lt;/h4&amp;gt;
      &amp;lt;h2&amp;gt;Price: 0.00€&amp;lt;/h2&amp;gt;
    &amp;lt;/button&amp;gt;
    &amp;lt;button class="panel"&amp;gt;
      &amp;lt;h1&amp;gt;Standard&amp;lt;/h1&amp;gt;
      &amp;lt;h4&amp;gt;
        Features: &amp;lt;br /&amp;gt;
        - 10 skips/hour &amp;lt;br /&amp;gt;
        - no ads &amp;lt;br /&amp;gt;
        - available on two devices &amp;lt;br /&amp;gt;
      &amp;lt;/h4&amp;gt;
      &amp;lt;h2&amp;gt;Price: 5.99€/month&amp;lt;/h2&amp;gt;
      &amp;lt;h4&amp;gt;Cancel at any time&amp;lt;/h4&amp;gt;
    &amp;lt;/button&amp;gt;
    &amp;lt;button class="panel"&amp;gt;
      &amp;lt;h1&amp;gt;Premium&amp;lt;/h1&amp;gt;
      &amp;lt;h4&amp;gt;
        Features: &amp;lt;br /&amp;gt;
        - unlimited skips &amp;lt;br /&amp;gt;
        - no ads &amp;lt;br /&amp;gt;
        - available on three or more devices &amp;lt;br /&amp;gt;
        - offline availability &amp;lt;br /&amp;gt;
      &amp;lt;/h4&amp;gt;
      &amp;lt;h2&amp;gt;Price: 9.99€/month&amp;lt;/h2&amp;gt;
      &amp;lt;h4&amp;gt;Cancel at any time&amp;lt;/h4&amp;gt;
      &amp;lt;h4&amp;gt;One month trial&amp;lt;/h4&amp;gt;
    &amp;lt;/button&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;hr&amp;gt;
  &amp;lt;div id="bottom"&amp;gt;
    &amp;lt;div class="description"&amp;gt;
      &amp;lt;h1 class="description-title"&amp;gt;How does it work?&amp;lt;/h1&amp;gt;
      &amp;lt;h2 class="description-items"&amp;gt;1. Log in or create a new account (it's free!)&amp;lt;/h2&amp;gt;
      &amp;lt;h2 class="description-items"&amp;gt;2. Choose one of our three plans. If you choose a paid plan, you need to have a valid credit/debit card&amp;lt;/h2&amp;gt;
      &amp;lt;h2 class="description-items"&amp;gt;3. You can cancel your plan at any time&amp;lt;/h2&amp;gt;
      &amp;lt;button class="newsletter-btn"&amp;gt;Sign up for our newsletter&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;

    &amp;lt;footer id="footer"&amp;gt;
      &amp;lt;h4 class="copyright"&amp;gt;© 2023 App. All rights reserved. Use of this site constitutes acceptance of our User Agreement and Privacy Policy and Cookie Statement and Your California Privacy Rights. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of the owners.&amp;lt;/h4&amp;gt;
    &amp;lt;/footer&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, the CSS part:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url("https://fonts.googleapis.com/css?family=Lato&amp;amp;display=swap");

body {
  font-family: "Lato", sans-serif;
  background-color: #181818;
  background-image: url("https://images2.alphacoders.com/238/thumb-1920-238870.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.landing {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-top: 28px;
  height: 100vh;
}

.navbar {
  width: 100%;
  background-color: #2e2e2e;
  font-size: 20px;
  padding: 10px;
  height: 70px;
  display: block;
  justify-content: end;
}

.menu-container {
  position: absolute;
  right: 10px;
  top: 20px;
}

a {
  color: white;
  text-decoration: none;
  padding: 4px;
}

a:hover {
  border: 2px solid white;
  border-radius: 7px;
  transition: 0.3s;
  margin: 4px;
}

.logo {
  background-image: url("https://www.freepnglogos.com/uploads/logo-website-png/logo-website-file-globe-icon-svg-wikimedia-commons-21.png");
  width: 100px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #1ed760;
  border: none;
  border-radius: 4px;
}

.logo:hover {
  cursor: pointer;
  border: 2px solid white;
}

.welcome {
  color: white;
  font-size: 140px;
  padding: 10px;
}

.start-btn {
  background-color: #1ed760;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  width: 300px;
  height: 15vh;
  color: white;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  right: 40%;
}

.start-btn:hover {
  border: 2px solid white;
  margin: 10px;
  transition: 0.2s;
  box-shadow: 10px 10px 40px #995f99;
}

#main {
  width: 100%;
  height: 140vh;
}

#middle {
  width: 100%;
  height: 140vh;
  display: flex;
  justify-content: center;
}

#bottom {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

hr {
  height: 4px;
  background-color: black;
  border: none;
  width: 100%;
}

.panel {
  height: 90vh;
  width: 250px;
  background-color: #2e2e2e;
  border: 4px solid black;
  border-radius: 4px;
  margin: 100px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.panel:focus {
  margin: 130px 110px;
  box-shadow: 10px 10px 40px #995f99;
  transition: 0.6s;
  cursor: pointer;
}

.panel:hover {
  margin: 130px 110px;
  box-shadow: 10px 10px 40px #995f99;
  transition: 0.6s;
  cursor: pointer;
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  text-align: center;
  background-color: #2e2e2e;
}

.copyright {
  color: white;
}

.description {
  text-align: center;
}

.description-title {
  color: white;
  font-size: 70px;
}

.description-items {
  color: white;
  font-size: 20px;
}

.newsletter-btn {
  background-color: #1ed760;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  width: 300px;
  height: 15vh;
  color: white;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  right: 40%;
}

.newsletter-btn:hover {
  border: 2px solid white;
  margin: 10px;
  transition: 0.2s;
  box-shadow: 10px 10px 40px #995f99;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And that is all. Feel free to post your feedback.&lt;/p&gt;

</description>
      <category>ubuntu</category>
      <category>linux</category>
      <category>opensource</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Log in/sign up/password reset screens made with HTML and CSS</title>
      <dc:creator>George-Florin Petrila</dc:creator>
      <pubDate>Thu, 12 Jan 2023 15:17:32 +0000</pubDate>
      <link>https://dev.to/georgeflorin/log-insign-uppassword-reset-screen-made-with-html-and-css-4d15</link>
      <guid>https://dev.to/georgeflorin/log-insign-uppassword-reset-screen-made-with-html-and-css-4d15</guid>
      <description>&lt;p&gt;This post will showcase three screens: one for logging in, one for signing up and one for requiring a password reset link.&lt;/p&gt;

&lt;p&gt;Codepen demos: &lt;br&gt;
&lt;a href="https://codepen.io/georgeflorinp1/pen/poZPxXy?editors=1100" rel="noopener noreferrer"&gt;Log in screen&lt;/a&gt;&lt;br&gt;
&lt;a href="https://codepen.io/georgeflorinp1/pen/KKBmEyW" rel="noopener noreferrer"&gt;Sign up screen&lt;/a&gt;&lt;br&gt;
&lt;a href="https://codepen.io/georgeflorinp1/pen/ExpmMvE" rel="noopener noreferrer"&gt;Password reset screen&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First, the HTML code for the Log in screen:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="login-screen"&amp;gt;
  &amp;lt;h1&amp;gt;Sign in to your account&amp;lt;/h1&amp;gt;
  &amp;lt;input type="email" placeholder="Email address" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="password" placeholder="Password" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;a href="https://codepen.io/georgeflorinp1/pen/ExpmMvE"&amp;gt;Forgot password?&amp;lt;/a&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;button&amp;gt;Log in&amp;lt;/button&amp;gt;
  &amp;lt;hr&amp;gt;
  &amp;lt;h4&amp;gt;Don't have an account?&amp;lt;/h4&amp;gt;
  &amp;lt;a href="https://codepen.io/georgeflorinp1/pen/KKBmEyW" class="sign-up-btn"&amp;gt;Sign up&amp;lt;/b&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, the HTML code for the Sign up screen:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="signup-screen"&amp;gt;
  &amp;lt;h1&amp;gt;Create your account&amp;lt;/h1&amp;gt;
  &amp;lt;input type="text" placeholder="First name" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="text" placeholder="Last name" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="text" placeholder="Email address" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="password" placeholder="Password" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="password" placeholder="Confirm password" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;button&amp;gt;Sign up&amp;lt;/button&amp;gt;
  &amp;lt;hr&amp;gt;
  &amp;lt;h4&amp;gt;Already have an account?&amp;lt;/h4&amp;gt;
  &amp;lt;a href="https://codepen.io/georgeflorinp1/pen/poZPxXy?editors=1100" class="sign-up-btn"&amp;gt;Sign in&amp;lt;/b&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The HTML Code for the Password reset screen:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="signup-screen"&amp;gt;
  &amp;lt;h1&amp;gt;Create your account&amp;lt;/h1&amp;gt;
  &amp;lt;input type="text" placeholder="First name" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="text" placeholder="Last name" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="text" placeholder="Email address" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="password" placeholder="Password" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;input type="password" placeholder="Confirm password" /&amp;gt;
  &amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
  &amp;lt;button&amp;gt;Sign up&amp;lt;/button&amp;gt;
  &amp;lt;hr&amp;gt;
  &amp;lt;h4&amp;gt;Already have an account?&amp;lt;/h4&amp;gt;
  &amp;lt;a href="https://codepen.io/georgeflorinp1/pen/poZPxXy?editors=1100" class="sign-up-btn"&amp;gt;Sign in&amp;lt;/b&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, the CSS code: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;for the Log in and Sign up screens:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url("https://fonts.googleapis.com/css?family=Lato&amp;amp;display=swap");

body {
  text-align: center;
  font-family: "Lato", sans-serif;
  background-color: #181818;
  color: white;
}

input {
  font-family: "Lato", sans-serif;
  border: 2px solid white;
  border-radius: 10px;
  padding: 10px;
  width: 15%;
  background-color: #2e2e2e;
  color: white;
}

button {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  border: 1px solid black;
  border-radius: 20px;
  padding: 10px;
  width: 15%;
  background-color: #1ed760;
  color: white;
  opacity: 1;
}

button:hover {
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

a {
  text-decoration: none;
}

hr {
  width: 25%;
}

sign-up-btn {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  border: 1px solid black;
  border-radius: 20px;
  padding: 10px;
  width: 15%;
  background-color: #1ed760;
  color: white;
  opacity: 1;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;for the Password reset screen:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url("https://fonts.googleapis.com/css?family=Lato&amp;amp;display=swap");

body {
  text-align: center;
  font-family: "Lato", sans-serif;
  background-color: #181818;
  color: white;
}

input {
  font-family: "Lato", sans-serif;
  border: 2px solid white;
  border-radius: 10px;
  padding: 10px;
  width: 15%;
  background-color: #2e2e2e;
  color: white;
}

button {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  border: 1px solid black;
  border-radius: 20px;
  padding: 10px;
  width: 15%;
  background-color: #1ed760;
  color: white;
  opacity: 1;
}

button:hover {
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>programming</category>
      <category>softwaredevelopment</category>
      <category>discuss</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
