jack o’ lantern – Thingography.com https://thingography.com More than a Photo Gallery Tue, 19 Feb 2019 00:49:47 +0000 en-US hourly 1 Jack O’ Lantern Pure CSS Animation https://thingography.com/css-jack/ https://thingography.com/css-jack/#comments Fri, 02 Mar 2018 18:46:41 +0000 http://thingography.com/?p=1609 .ani-box {height: 550px; width: 100%; background-color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M82.42 180h-1.415L0 98.995v-2.827L6.167 90 0 83.833V81.004L81.005 0h2.827L90 6.167 96.167 0H98.996L180 81.005v2.827L173.833 90 180 96.167V98.996L98.995 180h-2.827L90 173.833 83.833 180H82.42zm0-1.414L1.413 97.58 8.994 90l-7.58-7.58L82.42 1.413 90 8.994l7.58-7.58 81.006 81.005-7.58 7.58 7.58 7.58-81.005 81.006-7.58-7.58-7.58 7.58zM175.196 0h-25.832c1.033 2.924 2.616 5.59 4.625 7.868C152.145 9.682 151 12.208 151 15c0 5.523 4.477 10 10 10 1.657 0 3 1.343 3 3v4h16V0h-4.803c.51.883.803 1.907.803 3 0 3.314-2.686 6-6 6s-6-2.686-6-6c0-1.093.292-2.117.803-3h10.394-13.685C161.18.938 161 1.948 161 3v4c-4.418 0-8 3.582-8 8s3.582 8 8 8c2.76 0 5 2.24 5 5v2h4v-4h2v4h4v-4h2v4h2V0h-4.803zm-15.783 0c-.27.954-.414 1.96-.414 3v2.2c-1.25.254-2.414.74-3.447 1.412-1.716-1.93-3.098-4.164-4.054-6.612h7.914zM180 17h-3l2.143-10H180v10zm-30.635 163c-.884-2.502-1.365-5.195-1.365-8 0-13.255 10.748-24 23.99-24H180v32h-30.635zm12.147 0c.5-1.416 1.345-2.67 2.434-3.66l-1.345-1.48c-1.498 1.364-2.62 3.136-3.186 5.14H151.5c-.97-2.48-1.5-5.177-1.5-8 0-12.15 9.84-22 22-22h8v30h-18.488zm13.685 0c-1.037-1.793-2.976-3-5.197-3-2.22 0-4.16 1.207-5.197 3h10.394zM0 148h8.01C21.26 148 32 158.742 32 172c0 2.805-.48 5.498-1.366 8H0v-32zm0 2h8c12.15 0 22 9.847 22 22 0 2.822-.53 5.52-1.5 8h-7.914c-.567-2.004-1.688-3.776-3.187-5.14l-1.346 1.48c1.09.99 1.933 2.244 2.434 3.66H0v-30zm15.197 30c-1.037-1.793-2.976-3-5.197-3-2.22 0-4.16 1.207-5.197 3h10.394zM0 32h16v-4c0-1.657 1.343-3 3-3 5.523 0 10-4.477 10-10 0-2.794-1.145-5.32-2.992-7.134C28.018 5.586 29.6 2.924 30.634 0H0v32zm0-2h2v-4h2v4h4v-4h2v4h4v-2c0-2.76 2.24-5 5-5 4.418 0 8-3.582 8-8s-3.582-8-8-8V3c0-1.052-.18-2.062-.512-3H0v30zM28.5 0c-.954 2.448-2.335 4.683-4.05 6.613-1.035-.672-2.2-1.16-3.45-1.413V3c0-1.04-.144-2.046-.414-3H28.5zM0 17h3L.857 7H0v10zM15.197 0c.51.883.803 1.907.803 3 0 3.314-2.686 6-6 6S4 6.314 4 3c0-1.093.292-2.117.803-3h10.394zM109 115c-1.657 0-3 1.343-3 3v4H74v-4c0-1.657-1.343-3-3-3-5.523 0-10-4.477-10-10 0-2.793 1.145-5.318 2.99-7.132C60.262 93.638 58 88.084 58 82c0-13.255 10.748-24 23.99-24h16.02C111.26 58 122 68.742 122 82c0 6.082-2.263 11.636-5.992 15.866C117.855 99.68 119 102.206 119 105c0 5.523-4.477 10-10 10zm0-2c-2.76 0-5 2.24-5 5v2h-4v-4h-2v4h-4v-4h-2v4h-4v-4h-2v4h-4v-4h-2v4h-4v-2c0-2.76-2.24-5-5-5-4.418 0-8-3.582-8-8s3.582-8 8-8v-4c0-2.64 1.136-5.013 2.946-6.66L72.6 84.86C70.39 86.874 69 89.775 69 93v2.2c-1.25.254-2.414.74-3.447 1.412C62.098 92.727 60 87.61 60 82c0-12.15 9.84-22 22-22h16c12.15 0 22 9.847 22 22 0 5.61-2.097 10.728-5.55 14.613-1.035-.672-2.2-1.16-3.45-1.413V93c0-3.226-1.39-6.127-3.6-8.14l-1.346 1.48C107.864 87.987 109 90.36 109 93v4c4.418 0 8 3.582 8 8s-3.582 8-8 8zM90.857 97L93 107h-6l2.143-10h1.714zM80 99c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm20 0c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6z' fill='%23ded9df' fill-opacity='0.35' fill-rule='evenodd'/%3E%3C/svg%3E");} #jack-box { width: 800px; height: 600px; margin: 2em auto -1.2em auto; position: relative; box-sizing: content-box; /* =========== Original size was too Large ============ */ transform: scale(0.8); transform-origin: center top; } @media screen and (max-width: 720px) { #jack-box {transform: scale(0.6); transform-origin: left top;} } @media screen and (max-width: 500px) { #jack-box {transform: scale(0.4); transform-origin: left top;} } @media screen and (max-width: 320px) { #jack-box {transform: scale(0.4); transform-origin: left top;} } .stem { border: 1px ridge #000000; margin-left: -25px; position: absolute; top: -52px; left: 50%; height: 60px; width: 50px; border-radius: 10px 5px 0 0; background-color: #654321; background-image: linear-gradient(90deg, rgba(255,255,255,.07) 50%, transparent 50%), linear-gradient(90deg, rgba(255,255,255,.13) 50%, transparent 50%), linear-gradient(90deg, transparent 50%, rgba(255,255,255,.17) 50%), linear-gradient(90deg, transparent 50%, rgba(255,255,255,.19) 50%); background-size: 13px, 29px, 37px, 53px; } .shape { margin-right: auto; margin-left: auto; width: 750px; height: 575px; margin-top: 13px; background-color: #CC6600; border-radius: 350px 350px 350px 350px; box-shadow: 0px 0px 0px 8px #000000, 0px 0px 8px 2px #000000 inset; } /* ======== The Pumpkin's Verticle Lines or RIBS ======== */ #lines { position: absolute; top: 50%; left: 50%; } .curve1, .curve2, .curve3, .curve4, .curve5, .curve6 { border-style: hidden hidden hidden solid; width: 750px; height: 575px; border-width: 1px; border-color: none none none #666666; border-radius: 400px 0 0 400px; margin-top: 0px; position: absolute; left: 80px; opacity: 0.3; box-shadow: -6px 0px 55px -6px #666; } .curve1, .curve2 { box-shadow: none; } .curve2 { transform: rotateY(45deg); } .curve3 { transform: rotateY(80deg); left: 40px; } .curve4 { transform: rotateY(105deg); left: 40px } .curve5 { transform: rotateY(120deg); } .curve6 { transform: rotateY(140deg); } /* ========= The Eyes ========= */ .eyes { width: 400px; height: 100px; position: absolute; margin-left: -200px; left: 50%; top: 125px; } .leye, .reye { border: 3px solid #000000; float: left; width: 150px; height: 60px; background: #535353; border-radius: 100px / 50px; } .reye { float: right; } .pupil { margin: 5px auto 0px auto; width: 50px; height: 50px; position: relative; background-color: #000000; border-radius: 25px; animation: side1 10.0s infinite linear; } .iris { padding: 0px; margin: 0px auto 0px auto; width: 20px; height:20px; background-color: #CC6600; border-radius: 10px; position: relative; top: 15px; animation: side2 6.0s infinite linear; } /* ========= The Nose ========= */ .nose { margin-left: -38px; width: 0px; height: 0px; position: absolute; border-style: solid; border-width: 0 50px 75px 50px; border-color: transparent transparent #000000; margin-top: -325px; left: 50%; } /* ========= The Mouth and Teeth ========= */ .mouth { border-style: hidden hidden solid hidden; width: 500px; height: 200px; border-width: 100px; border-color: none none #333333 none; border-radius: 0 0 150px 150px; margin-top: 0px; position: absolute; background:transparent; margin-left: -250px; left: 50%; top: 220px; box-sizing: content-box; animation: mouth 3.0s infinite linear; } .top { margin: 199px 0px 0px -135px; width: 270px; height: 25px; position: absolute; opacity: 0.9; left: 50%; box-sizing: content-box; } .teeth1, .teeth2, .teeth3, .teeth4, .teeth5, .teeth6, .teeth7, .teeth8, .teeth9 { width: 0px; height: 0px; border-style: solid; border-width: 25px 15px 0 15px; border-color: #CC6600 transparent transparent; border-style: solid; position: relative; margin-left: 0px; float: left; } .bottom { width: 300px; height: 25px; position: absolute; bottom: -100px; left: 50%; margin-left: -150px; opacity: 0.9; animation: teeth 3.0s infinite linear; } .tooth1, .tooth2, .tooth3, .tooth4, .tooth5, .tooth6, .tooth7, .tooth8, .tooth9, .tooth10 { width: 0px; height: 0px; border-style: solid; border-width: 0 15px 25px 15px; border-color: transparent transparent #CC6600; border-style: solid; position: relative; margin-left: 0px; float: left; } /* ===== Animation to move the pupil left to right ===== */ @keyframes side1 { 0% {margin-left:10px;} 50% {margin-left:90px;} 100%{margin-left:10px;} } /* Animation to move the center of the eye a little - for added following the viewer effect */ @keyframes side2 { 0% {margin-left:20px;} 50% {margin-left:10px;} 100%{margin-left:20px;} } /* ===== animation to move the mouth ===== */ @keyframes mouth { 0% {border-width: 100px; border-radius: 0 0 150px 150px;} 50% {border-width: 30px; border-radius: 0 0 120px 120px;} 100%{border-width: 100px; border-radius: 0 0 150px 150px;} }

/* ===== animation to move the bottom teeth with the mouth ===== */ @keyframes teeth { 0% {bottom:-100px;} 50% {bottom: -31px;} 100%{bottom:-100px;} }

An Animated Jack-O-Lantern Pumpkin made completely with CSS.

]]>
https://thingography.com/css-jack/feed/ 1