Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div id="raptorWrap">
	<div id="chompOverlay"></div>
	<svg id="raptor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 800">
		<g id="tail" style="transform-origin: 190px 510px">
			<path class="f-warm-red" d="M218.42 439.5s-90.22 28.15-132.08.65c-38.08-25.03-39.61-63.65-58.63-60.86S13.3 466.14 54.64 508.94s113.12 55.49 155.78 65.56z"/>
			<path class="f-dark-grey" d="M115.46 515.25l30.93 38.2-42.72-16.82 11.79-21.38zM82.09 497.83c.54 2.6 8.03 32.15 8.03 32.15l-23.49-15.41zM55.42 473.62l.2 27-17.81-20.64 17.61-6.36zM41.18 444.12l-7.1 24.46-10.07-29.01 17.17 4.55zM34.18 410.4L23.9 426.07l-1.72-21.28 11.99 5.63z"/>
		</g>
		<g id="legLeft" style="transform-origin: 265px 495px">
			<path class="f-grey-light-tint-3" d="M326.13 667.83a10.88 10.88 0 0 1 9.45 4.7c2.26 3.28 6.81 9.97 15.84 9.97 20 0 27-5 42 3 14.32 7.64 14.26 29.46 10.02 43.58-3.26 10.88-9.88 15.06-12.75 16.4a5.76 5.76 0 0 1-2.44.55h-141.6a5.69 5.69 0 0 1-4.6-2.36c-1.89-2.59-3.63-11.17-3.63-24.17a358.12 358.12 0 0 1 2.28-41.94 7.26 7.26 0 0 1 6.88-6.27z"/>
			<path class="f-warm-red-dark-1" d="M243.28 750.5h150.28a2.24 2.24 0 0 0 1.88-2.47l.98-4.06a2.24 2.24 0 0 0-1.88-2.47H242.3a2.24 2.24 0 0 0-1.88 2.47l.98 4.06a2.24 2.24 0 0 0 1.88 2.47z"/>
			<rect class="f-warm-red-dark-1" x="332.44" y="674.92" width="13" height="25.38" rx="3.81" ry="3.81" transform="rotate(-152.95 338.94 687.6)"/>
			<rect class="f-warm-red-dark-1" x="353.26" y="679.49" width="13" height="24.93" rx="3.81" ry="3.81" transform="rotate(-176.16 359.76 691.96)"/>
			<path class="f-warm-red-dark-1" d="M330.75 623.9v49.43s-5.25 14.6-49.33 16.17c-28 1-36.77-12-36.77-12l-2.87-55z"/>
			<path class="f-grey-light-tint-3" d="M321.28 485.18l13.7 140.14s-12.7 7.06-49.42 7.06-45.19-7.06-45.19-7.06l4.24-135.94z"/>
			<path class="f-warm-red-dark" d="M285.56 622.5c31.97 0 45.73-4.92 48.76-6.2l.66 9.02s-12.7 7.06-49.42 7.06-45.19-7.06-45.19-7.06l.35-9.08c1.9 1.14 12.2 6.26 44.84 6.26z"/>
		</g>
		<g id="legRight" style="transform-origin: 265px 495px">
			<path class="f-grey-light-tint-2" d="M255.13 682.83a10.88 10.88 0 0 1 9.45 4.7c2.26 3.28 6.81 9.97 15.84 9.97 20 0 27-5 42 3 14.32 7.64 14.26 29.46 10.02 43.58-3.26 10.88-9.88 15.06-12.75 16.4a5.76 5.76 0 0 1-2.44.55h-141.6a5.69 5.69 0 0 1-4.6-2.36c-1.89-2.59-3.63-11.17-3.63-24.17a358.12 358.12 0 0 1 2.28-41.94 7.26 7.26 0 0 1 6.88-6.27z"/>
			<path class="f-warm-red-dark" d="M172.28 765.5h150.28a2.24 2.24 0 0 0 1.88-2.47l.98-4.06a2.24 2.24 0 0 0-1.88-2.47H171.3a2.24 2.24 0 0 0-1.88 2.47l.98 4.06a2.24 2.24 0 0 0 1.88 2.47z"/>
			<rect class="f-warm-red-dark" x="261.44" y="689.92" width="13" height="25.38" rx="3.81" ry="3.81" transform="rotate(-152.95 267.94 702.6)"/>
			<rect class="f-warm-red-dark" x="282.26" y="694.49" width="13" height="24.93" rx="3.81" ry="3.81" transform="scale(-1) rotate(3.84 21111.35 -8622.34)"/>
			<path class="f-warm-red-dark" d="M259.75 638.9v49.43s-5.25 14.6-49.33 16.17c-28 1-36.77-12-36.77-12l-2.87-55z"/>
			<path class="f-grey-light-tint-2" d="M250.28 500.18l13.7 140.14s-12.7 7.06-49.42 7.06-45.19-7.06-45.19-7.06l4.24-135.94z"/>
			<path class="f-warm-red-tint-1" d="M177.42 642.5h51l-5-146h-43l-3 146z"/>
			<path class="f-warm-red" d="M214.56 637.5c31.97 0 45.73-4.92 48.76-6.2l.66 9.02s-12.7 7.06-49.42 7.06-45.19-7.06-45.19-7.06l.35-9.08c1.9 1.14 12.2 6.26 44.84 6.26z"/>
			<circle class="f-grey-light-tint-2" cx="202.92" cy="613" r="17.5"/>
		</g>
		<g id="jersey">
			<path class="f-grey-light-tint-2" d="M338.07 510.97s-28.15 15.64-71.48 17.69c-54.65 2.58-102.26-13.49-102.26-13.49s-5.37-151.01 7.21-173.67c13.88-25 23.57-35 61.88-35 35.42 0 80.33 43.1 80.33 43.1s12.53-3.68 16.21 50.11c3.58 52.32 8.1 111.26 8.1 111.26z"/>
			<path class="s-dark-grey" d="M338.07 504.34s-28.15 15.64-71.48 17.69c-54.65 2.58-102.26-13.49-102.26-13.49"/>
			<path class="s-dark-grey" d="M338.07 496.97s-28.15 15.64-71.48 17.69c-54.65 2.58-102.26-13.49-102.26-13.49"/>
			<path class="f-warm-red-tint-1" d="M189.42 501.74V382a29.5 29.5 0 0 1 59 0v126.87a318.99 318.99 0 0 1-59-7.13z"/>
		</g>
		<path id="neck" class="f-warm-red-dark-1" d="M314.49 308.34c.62 1.24 2.55 40.04.59 50.63a2.42 2.42 0 0 1-3.46 1.73c-12.63-6.29-41.34-28.78-89.97-38.36-22.45-4.42-25.8-7.37-25.8-14.73s-10.31-36.11-10.31-36.11z"/>
		<g id="head" style="transform-origin: 270px 300px">
			<g id="headBottom" style="transform-origin: 175px 230px">
				<path class="f-grey-light-tint-3" d="M440.92 279s2-11-2-20-7-12-10-12-5 7-7 13c-2.02 6.07-7 15-7 15zM467.08 283s1.36-11-1.36-20-4.75-12-6.79-12-3.4 7-4.75 13a143.74 143.74 0 0 1-4.76 15zM478.25 281a112.54 112.54 0 0 0-.68-20c-1.36-9-2.38-12-3.4-12s-1.7 7-2.37 13c-.69 6.07-2.38 15-2.38 15zM404.3 273.04s6.76-8.9 7.27-18.74-.81-13.87-3.49-15.23-7.62 3.98-12.12 8.43c-4.56 4.5-13.04 10.2-13.04 10.2zM374.89 254.9s5.26-9.93 3.37-19.85-4.34-13.75-7.64-14.7-7.44 5.12-11.3 10.25c-3.93 5.18-11.88 12.17-11.88 12.17zM331.91 238.52s2.3-8.95-2.26-16.27-8-9.78-11.43-9.78-5.73 5.69-8.02 10.56c-2.32 4.94-8.02 12.2-8.02 12.2z"/>
				<path class="f-warm-red-dark" d="M117.47 223.6s-1.3 36.4 22.5 61.4 83.83 28 110.5 30 90.5 18 111.45 27 49.54 5 69.54-6 42.24-31.68 46.68-37c6.66-8 4.76-25 0-26s-28.58 0-49.54-4-34.52-21.07-58.1-28c-23.82-7-36.06-13.8-70.5-10-18.1 2-57.15-12-92.4-30z"/>
			</g>
			<g id="headTop" style="transform-origin: 175px 230px">
				<path class="f-warm-red-dark" d="M450.92 95s-2-14-15-17-33.34-2-46.67 8.5l37.67 2.5z"/>
				<path class="f-grey-light-tint-3" d="M410.38 157.85s5.29 9.85 4.25 19.65-2.97 13.57-5.82 14.5-6.91-5.13-10.66-10.22c-3.8-5.16-11.28-12.12-11.28-12.12zM438.12 147.04s4.92 9.13 3.92 18.23-2.82 12.62-5.5 13.48-6.46-4.73-9.96-9.45c-3.54-4.78-10.53-11.22-10.53-11.22zM458.17 134.45s5.98 7.17 7.4 15.12.86 11.22-.99 12.33-6.1-3.19-9.92-6.77a103.72 103.72 0 0 0-10.78-8.2zM469.32 130.36s5.4 7.52 7.97 14.78 2.88 10 1.9 10.6-4.65-4.06-7.9-7.98c-3.28-3.97-8.76-9.41-8.76-9.41zM378.63 172.06s5.8 7.86 5.41 16.63-2.03 12.39-4.76 13.64-7.07-3.45-11.06-7.36c-4.04-3.95-11.78-8.93-11.78-8.93zM348.23 189.56s5.24 6.65 4.4 14.44-2.62 11.08-5.35 12.33-6.72-2.69-10.41-5.94c-3.73-3.3-11.04-7.3-11.04-7.3z"/>
				<path class="f-warm-red" d="M180.94 111c-5.72 11-27.63 16-36.2 27s-31.44 58-26.67 93 100.02-3 120.02-4 80.02-12 93.35-20 103.92-49.71 119.07-57c22.86-11 33.34-19 19.05-44-13.2-23.09-34.29-19-42.86-22s-20-2-26.67 0-48.58 13-61.92 12-16.2 2-29.53-5-41.91-11-64.77-7-55.5 12.82-62.87 27z"/>
				<path class="f-warm-red-dark" d="M426.92 112c-7 6-12.04 11-23 10-8.27-.75-23.33-6.03-30.3-8.6a.57.57 0 0 0-.53 1c5.91 4.36 18.84 13.35 27.83 15.6 10.85 2.71 19.48 3.52 27-4 5-5 5.12-19.25-1-14z"/>
				<path class="f-dark-grey" d="M339.42 95.5c1.42 2.83-24 18-30 18-5.06 0-7.99-9.97-11.78-14.88a1.73 1.73 0 0 1 1.08-2.74c4.88-.88 14.04-2.38 19.7-2.38 8 0 20 0 21 2z"/>
				<g>
					<path class="f-warm-red-dark" d="M268.5 135.67a14 14 0 0 0-.15-14.2c-4.45-7.6-23.09-12.86-37.28-11.61-10.94.96-27.22 9.04-34.73 21.14-4.65 7.48-8.57 15.39-9.6 20.86-1.02 5.37 10.92-.12 15.28-1.26 4.23-1.1 66.49-14.93 66.49-14.93z"/>
					<path class="f-white" d="M269.77 139.26c3.2-6.56-13.47-20.25-27.94-23.7s-30.03 5.14-37.15 14.82-7.03 20.27-4.53 25.26c1.8 3.58 15.59-4.98 33.61-7.58s34.83-6.38 36-8.8z"/>
					<path class="f-dark-grey" d="M223.39 138.9a6.62 6.62 0 1 0-.15-13.25 6.79 6.79 0 0 0-4.46 1.73 46.31 46.31 0 0 1 1.58-9.27c6.62-2.96 14.18-4.28 21.47-2.54.7.16 1.42.36 2.14.58-2.15 2.92-5.89 7.33-5.82 13.7.05 4.33 1.65 12.3 2.71 17.12-2.32.38-4.7.75-7.1 1.1-.77.1-1.54.23-2.3.36a20.56 20.56 0 0 1-10.84-10.09 6.82 6.82 0 0 0 2.77.56z"/>
					<path class="f-warm-red-tint-1" d="M216.82 102.05s23.65-7.81 46.7 3.42a.55.55 0 0 1-.35 1.03c-8.7-1.9-29.45-5.38-45.1.34-13.46 4.91-23.19 14.53-28.22 20.47a.54.54 0 0 1-.88-.64c4.46-7.53 13.83-20.33 27.85-24.62z"/>
					<ellipse class="f-white-30" cx="230.35" cy="137.1" rx="4.77" ry="6.88"/>
				</g>
			</g>
		</g>
		<g id="armRight" style="transform-origin: 200px 375px">
			<path class="f-warm-red" d="M209.86 341.5c-49.37 0-34.55 48.72-32.43 76.63 1.29 16.9 4.55 40.78 7.37 63.37s-8.5 37.51-5.9 51.58c3.7 19.9 23.28 25.79 33.17 25.79 16.94 0 38.28-9.31 39.79-21.37 1.47-11.79-5.16-28.74-1.48-32.42 4.48-4.48 16.18-2.06 15.48-15.47-.7-13.38-16.95-16.95-31.69-14 0 0-2.76-37.22 1.48-62.64 2.82-16.94 18.42-71.47-25.8-71.47z"/>
			<path class="s-warm-red-dark" d="M228.5 556.04c-.23-2.3 7.15-9.64 0-28.46M202.24 557.1s-5.23-18.66.05-30.65"/>
		</g>
	</svg>
	<svg id="ball" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 130">
		<defs>
			<style>
				#ball .ball { fill: var(--sun) }
			</style>
		</defs>
		<circle class="f-dark-grey" cy="65" cx="65" r="63"/>
		<path class="ball" d="M9.93 30.52a63.16 63.16 0 0 1 16.76-3.68c21.39-1.95 35.56-3.72 42.12-5.26a28.96 28.96 0 0 0 14.7-8.08A51.94 51.94 0 0 0 49.6 1.86 65.2 65.2 0 0 0 9.92 30.52zM99.96 27.24a129.3 129.3 0 0 1 14.27-4.6A65.34 65.34 0 0 0 92.23 6a39.83 39.83 0 0 1-4.45 7.21 73.52 73.52 0 0 1 12.18 14.03z"/>
		<path class="ball" d="M9.11 98.14c3.28-7.7 11.6-21.88 31.94-37C68.9 40.43 87.63 32.36 97.09 28.42a71.08 71.08 0 0 0-11.26-12.95 31.81 31.81 0 0 1-16.33 9.05c-6.8 1.6-20.7 3.34-42.53 5.33A55.6 55.6 0 0 0 7.4 34.94a64.8 64.8 0 0 0 1.71 63.2zM101.65 29.82a119.24 119.24 0 0 1 8 14.7c7.63-1.79 14.03 1.34 18.42 4.79a64.79 64.79 0 0 0-11.72-24.1 133.8 133.8 0 0 0-14.7 4.6zM62.32.07a56.01 56.01 0 0 1 23.12 11.18 36.58 36.58 0 0 0 4.02-6.46A64.63 64.63 0 0 0 65 0c-.9 0-1.79.03-2.68.07zM116.42 104.7a64.69 64.69 0 0 0 12.66-50.53c-3.54-3.63-10.01-8.49-18.2-6.83a95.04 95.04 0 0 1 7.64 43.6 83.7 83.7 0 0 1-2.1 13.76z"/>
		<path class="ball" d="M107.96 48.2c-8.67 3.52-18.34 22.29-26.88 38.88-5.67 11.02-11.03 21.44-16.04 27.62a385.4 385.4 0 0 1-12.2 14.14 64.77 64.77 0 0 0 58.83-18.67 77.6 77.6 0 0 0 3.85-19.6c.72-10.5-.34-25.34-7.56-42.36z"/>
		<path class="ball" d="M78.4 85.7c9.17-17.83 18.65-36.24 28.34-40.26a116.62 116.62 0 0 0-7.94-14.46c-9.16 3.8-27.84 11.68-55.95 32.59-21.66 16.1-29.28 31.28-31.72 37.76a65.2 65.2 0 0 0 38.31 26.77 399.6 399.6 0 0 0 13.25-15.3c4.81-5.94 10.1-16.22 15.7-27.1z"/>
	</svg>
	<svg id="net" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 246 225">
		<defs>
			<style>
				.net-string { fill: var(--grey-tint-2); } .net-rim { fill: var(--warm-red); }
			</style>
		</defs>
		<path class="net-string" d="M138.22 54.74l-.13.15h.31l-.18-.15z"/>
		<path class="net-string" d="M148.29 213.56l17.64-21.93 28.98 32.42-.4-8.34c-.03-.49-2.37-48.8-2.37-79.15 0-32.4.92-57.67 12.81-87.68C216.82 18.93 238.78 7.95 239 7.85l-2.6-5.32c-.88.43-19.71 9.86-32.75 34.97l-34.03 39.1-20.49-25.47 8.05-44.83-5.82-1.04-8.13 45.28-21.9 22.94-21.9-22.94-8.12-45.28-5.83 1.04 8.05 44.83-20.5 25.47-34.02-39.1C25.97 12.4 7.14 2.96 6.25 2.53L3.66 7.85c.22.1 22.18 11.08 34.05 41.03 11.9 30.01 12.81 55.27 12.81 87.68 0 30.34-2.34 78.66-2.36 79.15l-.41 8.34 28.98-32.42 19.36 24.22 2.16-1.53 23.08-24.72 23.08 24.72 1.38 1.53zM185.9 106.3l-18.8 21.35-16.93-19.69 19.26-22.13zm.43 43.73L171 132.17l15.51-17.61a834.21 834.21 0 0 0-.17 35.46zm-81.82 10.52l16.81-18.82 16.81 18.82-16.81 19.1zm37.84-52.61l-21.03 24.16-21.03-24.16 21.03-24.46zm-24.67 28.99l-17.11 19.14-21.08-23.93 16.9-19.66zm7.28 0l21.29-24.45 16.9 19.66-21.08 23.93zm20.82-80.5l19.88 24.72-19.39 22.28-21.49-25zm-48.92 0l21 22-21.5 25L77 81.14zm-23.65 29.4l19.26 22.13-16.93 19.7-18.8-21.36zm-17.07 28.74l15.5 17.61-15.33 17.85a834.22 834.22 0 0 0-.17-35.46zm-10-59.83l23.12 26.56-14.04 17.45a179.22 179.22 0 0 0-9.07-44.01zm8.3 152.95c.41-9.4 1.07-25.52 1.52-41.87l17 21.14zm2.82-49.69l18.34-21.33 21 23.85-19.64 21.97zm39.56 49.18l-16.1-20.01 19.81-22.18 17.32 19.67zm49 0l-21.03-22.52 17.32-19.67 19.81 22.18zm19.86-24.69l-19.63-21.97 21-23.85 18.33 21.33zm4 4.47l17-21.14c.45 16.35 1.11 32.47 1.52 41.87zm17.74-88.21l-14.04-17.45 23.11-26.56a179.22 179.22 0 0 0-9.07 44z"/>
		<path class="net-string" d="M104.44 54.74l-.18.15h.3l-.12-.15z"/>
		<rect class="net-rim" y=".95" width="246" height="16" rx="8" ry="8"/>
	</svg>
</div>
              
            
!

CSS

              
                #raptor .f-warm-red-dark-1 {
	fill: #99100d;
}

#raptor .f-warm-red-dark {
	fill: #b91a0e;
}

#raptor .f-warm-red {
	fill: #f93f26;
}

#raptor .f-warm-red-tint-1 {
	fill: #fc9f92;
}

#raptor .f-dark-grey {
	fill: #444;
}

#raptor .f-grey-light-tint-3 {
	fill: #dbdbdb;
}

#raptor .f-grey-light-tint-2 {
	fill: #f2f3f3;
}

#raptor .f-white-30, #raptor .f-white {
	fill: #fff;
}

#raptor .f-white-30 {
	opacity: 0.3;
}

#raptor .s-warm-red-dark, #raptor .s-dark-grey {
	fill: none;
	stroke-miterlimit: 10;
	stroke-width: 3px;
}

#raptor .s-warm-red-dark {
	stroke: #b91a0e;
}

#raptor .s-dark-grey {
	stroke: #444;
}

#raptor #headTop {
	animation: chomp 3s infinite;
}

#raptor #legRight {
	animation: rotateLegRight 3s infinite ease-in-out;
}

#raptor #legLeft {
	animation: rotateLegLeft 3s infinite ease-in-out;
}

#raptor #armRight {
	animation: rotateArmRight 3s infinite ease-in-out;
}

#raptor #tail {
	animation: rotateTail 5.5s infinite;
}

#raptorWrap {
	--raptor-size: 220px;
	--ball-size: 100px;
	--net-size: 200px;
}

#raptor {
	position: absolute;
	top: calc(50% - var(--raptor-size));
	width: var(--raptor-size);
	transform: translateX(-100%);
	animation: move 12s forwards linear;
}

#raptorWrap,
#chompOverlay {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

#chompOverlay {
	background-color: var(--grey-light-tint-4);
	transform-origin: left center;
	animation: chomping 12s forwards linear;
}

#ball {
	position: absolute;
	z-index: 5;
	top: 0;
	left: calc(50% - (var(--ball-size) / 2));
	width: var(--ball-size);
	transform: translateY(-100%);
	transform-origin: center;
	animation: ballDrop 1s 14.5s forwards ease-in-out;
	visibility: hidden;
}

#net {
	position: absolute;
	z-index: 6;
	top: 100%;
	left: 50%;
	width: var(--net-size);
	transform: translateY(100%) translateX(-50%);
	visibility: hidden;
	animation: netMove 1.5s 13s forwards ease-in-out;
}

@keyframes chomp {
	0%, 65%, 80%, 90%, 100% { transform: rotate(0deg) }
	70% { transform: rotate(-20deg) }
	75% { transform: rotate(25deg) }
	85% { transform: rotate(22deg) }
	95% { transform: rotate(20deg) }
}

@keyframes rotateLegRight {
	0%, 40%, 100% { transform: rotate(0deg) }
	13% { transform: rotate(-20deg) }
	26% { transform: rotate(15deg) }
}

@keyframes rotateLegLeft {
	0%, 40%, 100% { transform: rotate(0deg) }
	13% { transform: rotate(15deg) }
	26% { transform: rotate(-20deg) }
}

@keyframes rotateArmRight {
	0%, 40%, 100% { transform: rotate(0deg) }
	13% { transform: rotate(10deg) }
	26% { transform: rotate(-15deg) }
}

@keyframes rotateTail {
	0%, 50%, 100% { transform: rotate(0deg) }
	25% { transform: rotate(10deg) }
	75% { transform: rotate(-10deg) }
}

@keyframes move {
	0% { left: 0 }
	10%, 25% { left: 25% }
	35%, 50% { left: 50% }
	60%, 75% { left: 75% }
	85%, 97% { left: 100% }
	100% { left: calc(100% + var(--raptor-size)) }
}

@keyframes chomping {
	0%, 16.9% { transform: scaleX(0) }
	17%, 19% { transform: scaleX(0.08) }
	19.5%, 21.5% { transform: scaleX(0.16) }
	22%, 23%, 41.9% { transform: scaleX(0.24) }
	
	42%, 44% { transform: scaleX(0.32) }
	44.5%, 46.5% { transform: scaleX(0.40) }
	47%, 49%, 67.9% { transform: scaleX(0.48) }
	
	68%, 70% { transform: scaleX(0.56) }
	70.5%, 72.5% { transform: scaleX(0.64) }
	73%, 75%, 93.9% { transform: scaleX(0.72) }
	
	94%, 96% { transform: scaleX(0.8) }
	96.5%, 98.5% { transform: scaleX(0.88) }
	99%, 99.5% { transform: scaleX(0.96) }
	100% { transform: scaleX(1) }
}

@keyframes ballDrop {
	0% { top: 0; visibility: visible; transform: rotate(0deg) translateY(-100%) }
	49.5%, 50% { top: 60%; transform: translateY(0) }
	57% { top: 67%; transform: rotate(270deg) } 
	100% { top: calc(100% + var(--ball-size)) }
}

@keyframes netMove {
	0% { top: 100%; visibility: visible }
	100% { top: 10%; visibility: visible }
}









// ---------

:root {
	--dark-grey: #444;
	--grey: #6f6f6f;
	--grey-tint-1: #8c8c8c;
	--grey-tint-2: #b3b3b3;
	--grey-light-tint-4: #ccc;
	--grey-light-tint-3: #dbdbdb;
	--grey-light-tint-2: #f2f3f3;
	--grey-light-tint-1: #fafafa;
	--warm-red-dark: #b91a0e;
	--warm-red: #f93f26;
	--warm-red-tint-1: #fc9f92;
	--warm-red-tint-2: #fdcfc9;
	--warm-red-tint-3: #feebe9;
	--sun: #fca311;
}

body {
	background-color: #fff;
	height: 100vh;
}
              
            
!

JS

              
                
              
            
!
999px

Console