@LilaRest
#neumorphism#skeuomorphism#glassmorphism#animation#minimalist#ball#radio#futuristic
#e8e8e81.8K views
1.radio-input { 2 display: flex; 3 height: 210px; 4 align-items: center; 5} 6 7.glass { 8 z-index: 2; 9 height: 110%; 10 width: 95px; 11 margin-right: 25px; 12 padding: 8px; 13 background-color: rgba(190, 189, 189, 0.5); 14 border-radius: 35px; 15 box-shadow: rgba(50, 50, 93, 0.2) 0px 25px 50px -10px, 16 rgba(0, 0, 0, 0.25) 0px 10px 30px -15px, 17 rgba(10, 37, 64, 0.26) 0px -2px 6px 0px inset; 18 backdrop-filter: blur(8px); 19} 20 21.glass-inner { 22 width: 100%; 23 height: 100%; 24 border-color: rgba(245, 245, 245, 0.45); 25 border-width: 9px; 26 border-style: solid; 27 border-radius: 30px 28} 29 30.selector { 31 display: flex; 32 flex-direction: column; 33} 34 35.choice { 36 margin: 10px 0 10px 0; 37 display: flex; 38 align-items: center; 39} 40 41.choice > div { 42 position: relative; 43 width: 41px; 44 height: 41px; 45 margin-right: 15px; 46 z-index: 0; 47} 48 49.choice-circle { 50 appearance: none; 51 height: 100%; 52 width: 100%; 53 border-radius: 100%; 54 border-width: 9px; 55 border-style: solid; 56 border-color: rgba(245, 245, 245, 0.45); 57 cursor: pointer; 58 box-shadow: 0px 0px 20px -13px gray, 59 0px 0px 20px -14px gray inset; 60} 61 62.ball { 63 z-index: 1; 64 position: absolute; 65 inset: 0px; 66 transform: translateX(-95px); 67 box-shadow: rgba(0, 0, 0, 0.17) 0px -10px 10px 0px inset, 68 rgba(0, 0, 0, 0.15) 0px -15px 15px 0px inset, 69 rgba(0, 0, 0, 0.1) 0px -40px 20px 0px inset, 70 rgba(0, 0, 0, 0.06) 0px 2px 1px, 71 rgba(0, 0, 0, 0.09) 0px 4px 2px, 72 rgba(0, 0, 0, 0.09) 0px 8px 4px, 73 rgba(0, 0, 0, 0.09) 0px 16px 8px, 74 rgba(0, 0, 0, 0.09) 0px 32px 16px, 75 0px -1px 15px -8px rgba(0, 0, 0, 0.09); 76 border-radius: 100%; 77 transition: transform 800ms cubic-bezier(1,-0.4,0,1.4); 78 background-color: rgb(232, 232, 232, 1); 79} 80 81.choice-circle:checked + .ball { 82 transform: translateX(0px); 83} 84 85.choice-name { 86 color: rgb(177, 176, 176); 87 font-size: 35px; 88 font-weight: 900; 89 font-family: monospace; 90 cursor: pointer; 91}
LilaRest
Lila Rest
MIT License