Color Wheel (Branch 1041) (Copy 2077)
✨ นางสาววรณัน วารีประเสริฐ
<html> <head> <title>Let's Start </title> <style> body{ background-color:brown; } .grid { background:#eee; display: flex; flex-wrap: wrap; border: solid 1px; margin: auto; width: 1500px; height: 700px; position:relative; background-image:url(https://png.pngtree.com/thumb_back/fw800/background/20190222/ourmid/pngtree-green-grass-white-clouds-pink-cartoon-background-cloudspinkcartoonbackground-image_60039.jpg); background-repeat: no-repeat; background-size:cover; overflow:hidden; z-index:-2; } .jabont{ position:absolute; height:700px; top:-150px; left:-1000px; animation: moving 20s infinite alternate; z-index:-1; } @keyframes moving{ from{ transform: translateX(0px) translateY(0px); opacity:80%; } to{ transform: translateX(2000px) translateY(150px); opacity:0%; } } .sun{ animation: sundig 1s infinite alternate; } @keyframes sundig{ 0%{ transform: rotateZ(15deg); } 50%{ transform: rotateZ(0deg); } 100%{ transform: rotateZ(-15deg); } } .pfaii{ position:absolute; height:280px; width:280px; left:-95; top:0px; opacity:100%; animation: dugdig 0.5s infinite alternate; z-index:200; } @keyframes dugdig { from { transform:rotateZ(-15deg); } to { transform:rotateZ(15deg); } } .floor { position: absolute; width: 1800px; height: 70px; background: #019243; left:0px; bottom: calc(0px); background-image: linear-gradient(to top, #baca50 10px, #baca50 10px); } a { z-index: 3 } .ferris_wheel { transform: scale(2); z-index: 0; } .pattern { position: absolute; width: 100%; height: 30px; background-image: linear-gradient(35deg, #baca50 50%, rgba(0, 0, 0, 0) 50%); background-size: 30px 30px; bottom:63px; left:0px; z-index:1; } .ferris_wheel, .wheel { border: 6px solid #d0b6c3; width: 150px; height: 150px; border-radius: 50%; } .ferris_wheel { border: 0; position: absolute; bottom: calc(260px); left: calc(30%); } .wheel_wrap { position: absolute; animation: wheel_rotate 40s infinite linear; } .wheel:before { content: ""; height: 75px; width: 86px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076407149658132/91cb737fa6462719.png); position: absolute; left: 0%; top: 0%; margin-left: 45px; margin-top: 40px; z-index: 5; background-size:75px 76px; } .wheel span:nth-child(1):before { content: ""; border-bottom: 5px solid #fff; position: absolute; top: 0; left: 0; width: 150px; top: 50%; left: 6px; } .wheel span:nth-child(1):after { content: ""; border-right: 5px solid #fff; position: absolute; top: 0; left: 0; height: 150px; top: 6px; left: 50%; transform: rotate(45deg); } .wheel span:nth-child(2):before { content: ""; border-right: 5px solid #fff; position: absolute; top: 0; left: 0; height: 150px; top: 5px; left: 50%; transform: rotate(-45deg); } .wheel span:nth-child(2):after { content: ""; border-right: 5px solid #fff; position: absolute; top: 0; left: 0; height: 150px; top: 6px; left: 50%; } div.stand:before, div.stand:after { content: ""; position: absolute; border-right: 6px solid #DFE7EB; height: 120px; transform: rotate(15deg); top: 88px; left: 50%; margin-left: -15px; z-index: -20; } div.stand:after { transform: rotate(-15deg); margin-left: 23px; } .stand div:nth-child(1) { position: absolute; height: 20px; background: #DE0F79; border-radius: 100px; width: 150px; bottom: -60px; left: 50%; margin-left: -70px; z-index: 30; } .stand div:nth-child(2) { position: absolute; width: 150px; height: 10px; background-color: #087735; bottom: calc(-66px); left: calc(50%); margin-left: -90px; border-radius: 50%; box-shadow: 0 0 2px 3px #087735; z-index: 250; } .buckets1{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 30%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809333047890542642/a249dab7d2b386a9.png); height:75px; width:86px; background-size:65px 100px; background-repeat: no-repeat; z-index: 260; } .buckets2{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 30%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076402749046804/jaoo.png-removebg-preview.png); height:76px; width:86px; background-size: 50px 60px; background-repeat: no-repeat; z-index: 260; } .buckets3{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 30%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076408444911691/2218e4011e06df51.png); height:75px; width:86px; background-size:60px 76px; background-repeat: no-repeat; z-index: 260; } .buckets4{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 30%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076411808612372/76b83100d3a91af6.png); height:75px; width:86px; background-size:60px 76px; background-repeat:no-repeat; z-index: 260; } .buckets5{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 25%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076412215459911/fc5680b1f95d946f.png); height:75px; width:86px; background-size:75px 76px; background-repeat:no-repeat; z-index: 260; } .buckets6{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 20%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076413797105724/fcb67f48b9ed5ccd.png); height:100px; width:150px; background-size: 65px 100px; background-repeat:no-repeat; z-index: 260; } .buckets7{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 30%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809076407149658132/91cb737fa6462719.png); height:75px; width:86px; background-size:75px 76px; z-index: 260; } .buckets8{ position: absolute; animation: bucket_rotate 40s infinite linear; top: 30%; left: 35%; margin-left: -10px; background-image:url(https://media.discordapp.net/attachments/798210278327451728/809333051296841728/e6492388eadd2abe.png); height:75px; width:86px; background-size: 65px 80px; background-repeat:no-repeat; z-index: 260; } .buckets div:nth-child(2) { animation-delay: -5s; } .buckets div:nth-child(3) { animation-delay: -10s; } .buckets div:nth-child(4) { animation-delay: -15s; } .buckets div:nth-child(5) { animation-delay: -20s; } .buckets div:nth-child(6) { animation-delay: -25s; } .buckets div:nth-child(7) { animation-delay: -30s; } .buckets div:nth-child(8) { animation-delay: -35s; } .sun { position: absolute; width: 100px; height: 100px; border-radius: 100px; background-color: #FCB100; top: calc(70px); right: calc(100px); /*box-shadow: 0 0 0 35px #9EE2A2, 0 0 0 52px #77D7B6, 0 0 0 53px #B9E094;*/ z-index: 200; } .sun::after { position: absolute; content: ""; width: 100px; height: 100px; border-radius: 100px; background-color: #FCB100; top: 55px; left: -80px; box-shadow:150px 10px 0 0#FCB100, 30px 90px 0 0 #FCB100, 120px 90px 0 0 #FCB100, 75px 20px 0 0 #FCB100; } } .cloudLeft { position: absolute; width: 150px; height: 5px; border-radius: 100px; background-color: #ade3f0; top: calc(180px); left: 0; z-index: 1000; animation: cloudMoveLeft 35s linear infinite; } .cloudLeft::after { position: absolute; content: ""; width: 100px; height: 100px; border-radius: 50%; background-color: #ade3f0; top: 50px; left: -50px; opacity:60%; box-shadow: 150px 0 0 0#ade3f0, 80px -50px 0 0 #ade3f0, 80px 0px 0 0 #ade3f0, 115px 31px 0 -30px #ade3f0, 40px 31px 0 -30px #ade3f0, 30px 31px 0 -30px #ade3f0, 50px 31px 0 -30px #ade3f0; animation: cloudMoveLeft 35s linear infinite; } .cloudRight { position: absolute; width: 250px; height: 5px; border-radius: 100px; background-color: #A6E4D5; top: 300px; opacity:90%; right: 0%; z-index: 250; animation: cloudMoveRight 50s linear infinite; } .cloudRight::after { position: absolute; content: ""; width: 100px; height: 100px; border-radius: 50%; background-color: #A6E4D5; top: -96px; left: -50px; box-shadow: 150px 0 0 0 #a6e4d5, 60px -60px 0 0 #a6e4d5, 250px 0px 0 0 #a6e4d5, 200px -60px 0 0 #a6e4d5, 130px -40px 0 0 #a6e4d5, 40px 0px 0 0 #a6e4d5, 80px 0px 0 0 #a6e4d5, 110px 0px 0 0 #a6e4d5, 180px 0px 0 0 #a6e4d5, 210px 0px 0 0 #a6e4d5; } @keyframes wheel_rotate { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } } @keyframes bucket_rotate { 0% { transform: rotate(0) translateX(75px) rotate(0); } 100% { transform: rotate(360deg) translateX(75px) rotate(-360deg); } } @keyframes cloudMoveLeft { 0% { left: -10%; } 100% { left: 110%; } } @keyframes cloudMoveRight { 0% { right: -10%; } 100% { right: 110%; } /* Palette: #303750 - dark blue #596d82 - gray blue #85a1ca - blue #f3d8e0 - bubblegum #d29a95 - brown */ body{ background-color: #fff; } .container{ position: relative; top: 50vh; } .stick1{ background : #313750; position : absolute ; left : 217pt; width : 65pt; height : 10pt; border-radius: 3px; animation: stick 4s infinite; } .stick2{ background : #313750; position : absolute ; left : 245pt; width : 10pt; height : 90pt; animation: stick 4s infinite; } .box{ border-radius: 7px; background : #596D82; position : absolute ; left : 200pt; top : 90pt; width : 100pt; height : 100pt; } .stamp-balloon{ position: absolute; left : 230pt; top : 100pt; width:63px; height:90px; background-color:#d29a95; border-radius:50% 50% 50% 50%/60% 60% 40% 40%; transform: rotate(190deg); } .stamp-triangle{ width: 0; height: 0; position: absolute; left : 240pt; top : 163pt; border-bottom: 12px solid #d29a95; border-left: 10px solid transparent; border-right: 10px solid transparent; transform: rotate(13deg); } .hose{ position : absolute ; left : 380px; top : 120px; width : 200px; height : 100px; border: solid 5px #000; border-color: transparent transparent #000 transparent; border-radius: 0 0 240px 50%/60px; } .baloon{ background-color : #F5B7B1; background-size:320px 400px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40% ; background-repeat:no-repeat; position : absolute ; left : 570px; top : 158pt; width : 3px; height : 3px; animation: baloon 4s infinite; } .ground{ background-color: gray; opacity: 0.3; position : absolute ; left : 200px; top : 170pt; width:600px; height: 50px; border-radius: 100%; } @keyframes stick{ 0%{top:0px;} 12.5%{top:100px;} 25%{top:0px;} 37.5%{top:100px;} 50%{top:0px;} 62.5%{top:100px;} 87.5%{top:0px;} 100%{top:0px;} } @keyframes baloon{ 0%{width:3px; height: 3px; top:158pt; transform: rotate(-95deg);} 25%{width:140px; height: 200px; top:70pt; left: 595px;transform: rotate(-95deg);} 50%{width:210px; height: 300px; top:-35pt; left: 565px;transform: rotate(-140deg);} 75%{width:280px; height: 400px; top:-120pt; left: 520px;transform: rotate(-150deg);} 100%{width:280px; height: 400px; top:-800pt; left: 570px;transform: rotate(-200deg);} } } </style> </head> <body> <div class="grid"> <div class="container"> <div class="floor"></div> <div class="pattern"></div> <div class="ferris_wheel"> <div class="wheel_wrap"> <div class="wheel"> <span></span> <span></span> <span></span> </div> </div> <div class="buckets"> <div class="buckets1"><span></span></div> <div class="buckets2"><span></span></div> <div class="buckets3"><span></span></div> <div class="buckets4"><span></span></div> <div class="buckets5"><span></span></div> <div class="buckets6"><span></span></div> <div class="buckets7"><span></span></div> <div class="buckets8"><span></span></div> </div> <div class="stand"> <div></div> </div> <div class="container"> <div class="ground"></div> <div><img class="hose" src="https://media.discordapp.net/attachments/798210303846383676/809303024794992681/92_20210211125710.png"></div> <div class="piston"> <div class="stick1"></div> <div class="stick2"></div> <div class="box"></div> <div class="stamp-balloon"></div> <div class="stamp-triangle"></div> </div> <div><img class="baloon" src="https://media.discordapp.net/attachments/798210303846383676/809303024794992681/92_20210211125710.png"></div> </div> </div> <div class="sun"> <img class ="pfaii"src="https://media.discordapp.net/attachments/798210278327451728/809343300111695912/36d70726293d7311.png"> </div></div> <div class="cloudLeft"></div> <div class="cloudRight"></div> <img class="jabont" src="https://media.discordapp.net/attachments/798210303846383676/809303024794992681/92_20210211125710.png"> </div> </body> </html>