vkrastev97

reg css

Nov 1st, 2020
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. .regdiv {
  2. margin-left: 5%;
  3. width: 20%;
  4. margin-top: 10%;
  5. border: solid;
  6. border-color: #daa520;
  7. border-width: 3px;
  8. padding: 15px;
  9. border-radius: 2%;
  10. display: grid;
  11. color: beige;
  12. }
  13. .regdiv input {
  14. margin-bottom: 10px;
  15. border-radius: 5px;
  16. height: 40px;
  17. }
  18. .regdiv button {
  19. border-radius: 5px;
  20. }
  21. .regdiv button:disabled {
  22. background: #ee9090;
  23. color: #544e4d;
  24. }
  25. .regdiv button:enabled {
  26. background-color: #90ee90;
  27. color: black;
  28. }
  29. input.touched {
  30. border-radius: 3px;
  31. }
  32.  
  33. input.valid {
  34. background-color: #90ee90;
  35. }
  36.  
  37. input.invalid {
  38. background-color: #ee9090;
  39. }
  40.  
Advertisement
Add Comment
Please, Sign In to add comment