├── style.css ├── index.html └── script.js /style.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | body { 8 | font-family: sans-serif; 9 | } 10 | 11 | .h1 { 12 | font-size: 40px; 13 | text-decoration: underline; 14 | } 15 | 16 | button { 17 | width: 65px; 18 | height: 65px; 19 | border-radius: 50%; 20 | font-size: 30px; 21 | cursor: pointer; 22 | background-color: black; 23 | color: white; 24 | border: none; 25 | } 26 | 27 | .main { 28 | width: 100vw; 29 | height: 100vh; 30 | display: flex; 31 | flex-direction: column; 32 | gap: 20px; 33 | align-items: center; 34 | justify-content: space-evenly; 35 | } 36 | 37 | .main2 { 38 | display: flex; 39 | flex-direction: column; 40 | gap: 20px; 41 | } 42 | 43 | .row { 44 | display: flex; 45 | gap: 20px; 46 | } 47 | 48 | @media (max-width: 768px) { 49 | .main { 50 | gap: 10px; 51 | } 52 | 53 | button { 54 | width: 50px; 55 | height: 50px; 56 | font-size: 24px; 57 | } 58 | 59 | .row { 60 | flex-wrap: wrap; 61 | } 62 | } 63 | 64 | @media (max-width: 480px) { 65 | .main { 66 | gap: 5px; 67 | } 68 | 69 | button { 70 | width: 40px; 71 | height: 40px; 72 | font-size: 20px; 73 | } 74 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 |