Hadi1989

Untitled

Jun 13th, 2022
3,037
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.86 KB | None | 0 0
  1.  * {
  2.  
  3.       margin: 0;
  4.  
  5.       padding: 0;
  6.  
  7.       text-decoration: none;
  8.  
  9.       box-sizing: border-box;
  10.  
  11.       -webkit-tap-highlight-color:rgba(0,0,0,0);
  12.  
  13.       -webkit-text-size-adjust:none;
  14.  
  15.       -webkit-font-smoothing: antialiased;
  16.  
  17.       -moz-osx-font-smoothing: grayscale;
  18.  
  19.     }
  20.  
  21.     body {
  22.  
  23.       margin: 0;
  24.  
  25.       padding: 0;
  26.  
  27.       background: #f6f6f6;
  28.  
  29.       font-family: 'Poppins', sans-serif;
  30.  
  31.       overflow-x: hidden;
  32.  
  33.       height: 100vh;
  34.  
  35.       margin: auto;
  36.  
  37.       -webkit-box-align: center;
  38.  
  39.           -ms-flex-align: center;
  40.  
  41.               align-items: center;
  42.  
  43.       display: -webkit-box;
  44.  
  45.       display: -ms-flexbox;
  46.  
  47.       display: flex;
  48.  
  49.       -webkit-box-pack: center;
  50.  
  51.           -ms-flex-pack: center;
  52.  
  53.               justify-content: center;
  54.  
  55.       flex-flow: row wrap;
  56.  
  57.       -ms-flex-flow: row wrap;
  58.  
  59.     }
  60.  
  61.  
  62.  
  63.     img {
  64.  
  65.         max-width: 100%;
  66.  
  67.     }
  68.  
  69.  
  70.  
  71.     .app {
  72.  
  73.       background-color: #fff;
  74.  
  75.       width: 330px;
  76.  
  77.       height: 570px;
  78.  
  79.       margin: 2em auto;
  80.  
  81.       border-radius: 5px;
  82.  
  83.       padding: 1em;
  84.  
  85.       position: relative;
  86.  
  87.       overflow: hidden;
  88.  
  89.       box-shadow: 0 6px 31px -2px rgba(0, 0, 0, .3);
  90.  
  91.     }
  92.  
  93.  
  94.     a {
  95.  
  96.         text-decoration: none;
  97.  
  98.         color: #257aa6;
  99.  
  100.     }
  101.  
  102.  
  103.  
  104.     p {
  105.  
  106.         font-size: 13px;
  107.  
  108.         color: #333;
  109.  
  110.         line-height: 2;
  111.  
  112.     }
  113.  
  114.         .light {
  115.  
  116.             text-align: right;
  117.  
  118.             color: #fff;
  119.  
  120.         }
  121.  
  122.             .light a {
  123.  
  124.                 color: #fff;
  125.  
  126.             }
  127.  
  128.  
  129.  
  130.     .bg {
  131.  
  132.         width: 400px;
  133.  
  134.         height: 550px;
  135.  
  136.         background: #257aa6;
  137.  
  138.         position: absolute;
  139.  
  140.         top: -5em;
  141.  
  142.         left: 0;
  143.  
  144.         right: 0;
  145.  
  146.         margin: auto;
  147.  
  148.         background-image: url("https://png.pngtree.com");
  149.  
  150.         background-position: center;
  151.  
  152.         background-size: cover;
  153.  
  154.         background-repeat: no-repeat;
  155.  
  156.         -webkit-clip-path: ellipse(69% 46% at 48% 46%);
  157.  
  158.         clip-path: ellipse(69% 46% at 48% 46%);
  159.  
  160.     }
  161.  
  162.  
  163.  
  164.     form {
  165.  
  166.         position: absolute;
  167.  
  168.         top: 0;
  169.  
  170.         left: 0;
  171.  
  172.         right: 0;
  173.  
  174.         width: 100%;
  175.  
  176.         text-align: center;
  177.  
  178.         padding: 2em;
  179.  
  180.     }
  181.  
  182.  
  183.  
  184.     header {
  185.  
  186.         width: 220px;
  187.  
  188.         height: 220px;
  189.  
  190.         margin: 1em auto;
  191.  
  192.       }
  193.  
  194.  
  195.     form input {
  196.  
  197.         width: 100%;
  198.  
  199.         padding: 13px 15px;
  200.  
  201.         margin: 0.7em auto;
  202.  
  203.         border-radius: 100px;
  204.  
  205.         border: none;
  206.  
  207.         background: rgb(255,255,255,0.3);
  208.  
  209.         font-family: 'Poppins', sans-serif;
  210.  
  211.         outline: none;
  212.  
  213.         color: #fff;
  214.  
  215.     }
  216.  
  217.     input::placeholder {
  218.  
  219.         color: #fff;
  220.  
  221.         font-size: 13px;
  222.  
  223.     }
  224.  
  225.  
  226.  
  227.     .inputs {
  228.  
  229.         margin-top: -4em;
  230.  
  231.     }
  232.  
  233.  
  234.  
  235.     footer {
  236.  
  237.         position: absolute;
  238.  
  239.         bottom: 0;
  240.  
  241.         left: 0;
  242.  
  243.         right: 0;
  244.  
  245.         padding: 2em;
  246.  
  247.         text-align: center;
  248.  
  249.     }
  250.  
  251.  
  252.  
  253.     button {
  254.  
  255.         width: 100%;
  256.  
  257.         padding: 13px 15px;
  258.  
  259.         border-radius: 100px;
  260.  
  261.         border: none;
  262.  
  263.         background: #257aa6;
  264.  
  265.         font-family: 'Poppins', sans-serif;
  266.  
  267.         outline: none;
  268.  
  269.         color: #fff;
  270.  
  271.     }
  272.  
  273.    
  274.  
  275.     @media screen and (max-width: 640px) {
  276.  
  277.             .app {
  278.  
  279.                 width: 100%;
  280.  
  281.                 height: 100vh;
  282.  
  283.                 border-radius: 0;
  284.  
  285.             }
  286.  
  287.  
  288.  
  289.             .bg {
  290.  
  291.                 top: -7em;
  292.  
  293.                 width: 450px;
  294.  
  295.                 height: 95vh;
  296.  
  297.             }
  298.  
  299.             header {
  300.  
  301.                 width: 90%;
  302.  
  303.                 height: 250px;
  304.  
  305.             }
  306.  
  307.             .inputs {
  308.  
  309.                 margin: 0;
  310.  
  311.             }
  312.  
  313.             input, button {
  314.  
  315.                 padding: 18px 15px;
  316.  
  317.             }
  318.  
  319.         }
  320.  
  321.  
Advertisement
Add Comment
Please, Sign In to add comment