gmoehra

(CSS) App - Tarefas

Oct 5th, 2019
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.81 KB | None | 0 0
  1.     <style>
  2.         body {
  3.             font-family: Arial, Helvetica, sans-serif;
  4.             background: #f5f5f5;
  5.         }
  6.         .app {
  7.             width: 500px;
  8.             margin: auto auto;
  9.             padding: 20px;
  10.             background: #fff;
  11.             border-radius: 20px;
  12.             position: relative;
  13.             z-index: 10;
  14.             display: block;
  15.             position: absolute;
  16.             top: 50%;
  17.             left: 50%;
  18.             transform: translate(-50%, -50%);
  19.             box-shadow: 0 0 10px 1px rgba(0,0,0,0.1);
  20.         }
  21.  
  22.         .app hr {
  23.             width: 50%;
  24.             height: 2.5px;
  25.             margin: 20px auto;
  26.             background: rgba(0,0,0,0.1);
  27.             border: none;
  28.             border-radius: 25px;
  29.         }
  30.  
  31.         .app span.titulo {
  32.             width: max-content;
  33.             margin: 0 auto;
  34.             margin-bottom: 20px;
  35.             font-size: 30px;
  36.             font-weight: bold;
  37.             display: block;
  38.         }
  39.  
  40.         .app ul {
  41.             padding-left: 0;
  42.             position: relative;
  43.         }
  44.         .app ul li {
  45.             width: 100%;
  46.             margin: 0 auto;
  47.             padding: 10px;
  48.             display: block;
  49.             position: relative;
  50.         }
  51.         .app ul li:first-child {
  52.             margin-top: 0;
  53.         }
  54.         .app ul li:last-child {
  55.             margin-bottom: 0;
  56.         }
  57.  
  58.         .app ul li a {
  59.             width: max-content;
  60.             padding: 5px 10px;
  61.             color: #fff;
  62.             font-size: 13px;
  63.             text-transform: lowercase;
  64.             text-decoration-line: none;
  65.             background: #dd1414;
  66.             border-radius: 25px;
  67.             position: absolute;
  68.             top: 50%;
  69.             right: 25px;
  70.             transform: translateY(-50%);
  71.             outline: none;
  72.         }
  73.  
  74.         .app .rodape {
  75.             width: max-content;
  76.             margin: 0 auto;
  77.             border-radius: 25px;
  78.             display: flex;
  79.             justify-content: center;
  80.             align-items: center;
  81.             overflow: hidden;
  82.         }
  83.  
  84.         .app .rodape input {
  85.             width: 250px;
  86.             padding: 9px 15px;
  87.             background: rgba(0,0,0,0.08);
  88.             border: none;
  89.             border: 2px solid rgba(0,0,0,0.09);
  90.             border-top-left-radius: 25px;
  91.             border-bottom-left-radius: 25px;
  92.             outline: none;
  93.         }
  94.  
  95.         .app .rodape button {
  96.             width: max-content;
  97.             padding: 10px 20px;
  98.             color: #fff;
  99.             font-size: 15px;
  100.             font-weight: bold;
  101.             text-transform: uppercase;
  102.             background: #4d01ff;
  103.             border: none;
  104.             outline: none;
  105.             cursor: pointer;
  106.         }
  107.     </style>
Advertisement
Add Comment
Please, Sign In to add comment