pablopc

CSS3 - Formularios Vitaminados

Nov 11th, 2025
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.73 KB | Source Code | 0 0
  1. body {
  2.   font-family: 'Segoe UI', sans-serif;
  3.   background-color: #f4f6f8;
  4.   display: flex;
  5.   justify-content: center;
  6.   align-items: center;
  7.   height: 100vh;
  8. }
  9.  
  10. form {
  11.   background-color: #ffffff;
  12.   padding: 30px;
  13.   border-radius: 15px;
  14.   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  15.   width: 300px;
  16. }
  17.  
  18. h2 {
  19.   text-align: center;
  20.   color: #333;
  21.   margin-bottom: 20px;
  22. }
  23.  
  24. label {
  25.   margin-top: 10px;
  26.   color: #555;
  27.   font-weight: bold;
  28. }
  29.  
  30. input[type="number"],select,output {
  31.   width: 100%;
  32.   padding: 10px;
  33.   margin-top: 5px;
  34.   border: 1px solid #ccc;
  35.   border-radius: 8px;
  36.   box-sizing: border-box;
  37.   font-size: 16px;
  38. }
  39.  
  40. output {
  41.   background-color: #f0f0f0;
  42.   font-weight: bold;
  43.   text-align: center;
  44. }
Advertisement
Add Comment
Please, Sign In to add comment