1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
| body { display: flex; align-items: center; justify-content: center; background-image: url('../assets/bg1.jpg'); background-size: cover; height: 97vh; } .context { display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.16); backdrop-filter: blur(10px); padding: 30px; border-radius: 50px; filter: blur(0px); box-shadow: 0 0 10px rgba(0, 0, 0, 0.126); } .box { border: rgb(255, 255, 255) solid 1px; border-radius: 20px; width: 120px; height: 90px; margin: 10px; box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.329); color: white; font-size: 30px; display: flex; align-items: center; justify-content: center; transition: 100ms ease-out; overflow: hidden; }
.box:hover { box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); border: rgba(255, 215, 215, 0.76) solid 2px; color: rgb(255, 215, 215); text-shadow: 0 0 4cap rgba(0, 0, 0, 0.15); font-weight: bold; font-size: 36px; transition: 200ms ease-out; background: rgba(0, 0, 0, 0.01); width: 128px; height: 96px; } .box.active { box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); border: rgba(255, 215, 215, 0.76) solid 2px; color: rgb(255, 215, 215); text-shadow: 0 0 4px rgba(0, 0, 0, 0.15); font-weight: bold; font-size: 36px; background: rgba(255, 212, 212, 0.6); width: 128px; height: 96px; transition: 100ms; }
.outerbox { display: flex; flex-direction: column; justify-content: center; align-items: center; color: rgba(255, 255, 255, 0.568); letter-spacing: 2px; transition: 100ms ease-out; }
.outerbox:hover { letter-spacing: 5px; color: rgb(255, 215, 215); text-shadow: 0 0 5px rgba(0, 0, 0, 0.2); transition: 200ms ease-out; }
|