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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 class="wrapper">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 276.07 431.62" class="bear animated"><defs><linearGradient id="linear-gradient" x1="20.61" y1="100.13" x2="168.21" y2="418.59" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#b3b3b3"/></linearGradient><linearGradient id="linear-gradient-2" x1="169.09" y1="427.29" x2="241.05" y2="427.29" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1f1f1"/><stop offset="1" stop-color="#231f20"/></linearGradient><linearGradient id="linear-gradient-3" x1="28.43" y1="427.65" x2="141.95" y2="398.1" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-4" x1="20.61" y1="100.13" x2="168.21" y2="418.59" xlink:href="#linear-gradient-2"/><filter id="luminosity-noclip" x="24.28" y="-8258.54" width="156" height="32766" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-2" x="24.28" y="120.64" width="156" height="245.63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><radialGradient id="radial-gradient" cx="102.13" cy="416.54" r="61" gradientUnits="userSpaceOnUse"><stop offset=".56" stop-color="#e5ad4c"/><stop offset=".67" stop-color="#e0a94a"/><stop offset=".8" stop-color="#d19e45"/><stop offset=".95" stop-color="#b98b3d"/><stop offset="1" stop-color="#ae833a"/></radialGradient><style>.cls-4{fill:#754d24}.cls-7{fill:#f7b956;stroke:#e5ad4c;stroke-width:4.78px}.cls-11{fill:#a7d069}.cls-12{fill:#a67e53}.cls-13{fill:#80c241}.cls-14{fill:#6a963f}</style><mask id="mask-2" x="24.28" y="120.64" width="156" height="245.63" maskUnits="userSpaceOnUse"><g mask="url(#mask)" filter="url(#luminosity-noclip-2)"><path d="M112.52 327.09c-19.34-31.25-4.47-69.93-17.85-104.15-11.91-31.25-41.67-47.62-62.5-74.4a32.44 32.44 0 01-5.17-27.9c-.34.87-.67 1.75-.95 2.65-6.09 19.47 4.16 43.12 21.69 54.27C67.4 194.26 75.5 207.31 82 226.7c7.88 23.38 7.77 43.52 8.38 61.76.52 15.72-4.78 35.32 3.15 49.81 4.54 8.31 14.64 15.92 23.81 19.67 19 7.81 42.54 10.94 62.92 5.83-26.01 2.23-50.45-7.29-67.74-36.68z" style="mix-blend-mode:multiply" fill="url(#linear-gradient)"/></g></mask></defs><g style="isolation:isolate"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-4" d="M227.16 185.76l.44 6.02-10.21-1.55 9.77-4.47M256.05 279.66a149.35 149.35 0 00-3.35-20.74l-32.12 14c3.6 13.43 2.77 27.52 3.53 40.95 1.95-.5 6.93-1.78 8.89-2.55 5.66-2.22 14.67-4.61 19.32-9 4.41-4.17 4.29-16.27 3.73-22.66z"/><path d="M207.49 424.07c-8.81.07-32.21-1.49-38.4 2.71 6.89 5.09 34.54 4.37 45 4.37 6.14 0 27.36 1.22 26.9-3.35-.65-7-27.64-3.8-33.5-3.73z" style="mix-blend-mode:multiply" fill="url(#linear-gradient-2)" opacity=".3"/><path d="M155.68 419l.37.23c-3.09-1.94-18.75 2.82-22.54 3.5-7.61 1.37-15.22 2.83-22.93 3.73-15.58 1.8-31.06.62-46.65-.41-3.4-.23-24.12.95-17.56-5.73-13.19-7-33.37-1.24-46.37-9.56 19.28-7 37.69-8.46 58.28-7.82 12.34.38 24.53 1.15 36.81 1.38 9.63.19 33.13-1.68 40.49 3.48 6.69 3.73 13.66 7.2 20.1 11.2z" style="mix-blend-mode:multiply" fill="url(#linear-gradient-3)" opacity=".3"/><path class="cls-7" d="M72 95.68S68 75 89.56 78.53c18 3 8.27 23.18 8.27 23.18"/><path d="M96 90.54c.87 4.4-1.12 5-4.55 4.53-3-.45-5.69-.31-8.71-.56-7.42-.62-5-8.55-.17-10.17S94.55 83.3 96 90.54z" fill="#0d4e8b"/><path d="M254.36 249.22l-2.48 2.14c-16.36 7.59-13.89 47.45 8.45 27.12s-7.95-43.64-7.95-43.64c3-8.93 12.4-6.45 5.45-14.38S238 227.4 238 227.4c-42.15 7.44-98.22-41.64-98.22-41.64l55.08 83.51 45.4-2.06" stroke="#f7b956" fill="#e5ad4c" stroke-width="4.78"/><path d="M177.59 215.56c-4.8 1 1.56-4.9 2.1-6.15a8.46 8.46 0 012.31-3.71 41.85 41.85 0 0112-9.62 52.15 52.15 0 019.28-3.49c3.13-1 6.2-1.06 9.11-2.45 2.69-1.28 12.89-6.7 14.81-4.38-.43.22-7 3.46-7.3 3.66a41.33 41.33 0 0110.13-.64c3.17.15 4.38.48 3.16 3.27 2.79-.27 10 4.35 5.64 4.57-1.85.33-2.37 1.16-4.14 1.89-6 2.45-12.2 3.74-18.43 5.53-8.83 2.54-16.19 9.75-25.07 12.48-2.62.82-8.51-5.35-9.94-3.2z" fill="#402312"/><path class="cls-11" d="M232.73 76.25s10.88-9.68 25.56-5.12c0 0-7.89 12.43-18.52 12.81s-9.42-5.94-7.04-7.69z"/><path class="cls-12" d="M206.61 225.14s-14.58-35.06-17-52.21-11.36-47-11.77-54.67-8.09-34.26-9.24-57.83l-.06-13.88s8.43 53.69 12.17 68.11a102.75 102.75 0 0110.12 42.28s17.51 54.07 22.75 67.34z"/><path class="cls-12" d="M206.61 225.14q-4.53-10.54-8.51-21.31c-2.64-7.18-5.15-14.41-7.16-21.82q-.75-2.77-1.34-5.61c-.41-1.88-.65-3.82-1-5.67-.63-3.75-1.42-7.48-2.26-11.2-1.68-7.44-3.59-14.84-5.46-22.26-.93-3.71-1.86-7.42-2.7-11.16-.42-1.88-.83-3.76-1.12-5.7-.16-.94-.22-2-.3-2.89s-.23-1.84-.39-2.77c-1.34-7.46-3.12-14.93-4.57-22.45s-2.8-15.08-3.6-22.73q-.33-2.86-.54-5.74l-.19-2.89c-.05-1.06 0-1.94 0-2.92l-.08-11.46 2.36-.19 2.73 17.07 2.83 17.06q1.44 8.52 3 17c1.06 5.66 2.1 11.34 3.46 16.88l-.09-.24a84.16 84.16 0 014.26 10.26 100.46 100.46 0 013 10.62 105.45 105.45 0 012.7 21.88v-.23l10.83 33.85 5.49 16.9c1.86 5.62 3.72 11.24 5.76 16.8v.13h-.14zm0 0l7-1-.09.15c-2.24-5.5-4.19-11.09-6.19-16.67l-5.88-16.78c-1.95-5.59-3.83-11.21-5.72-16.82l-5.64-16.86V157a104.26 104.26 0 00-3-21.47q-1.29-5.28-3.08-10.4a82.38 82.38 0 00-4.18-9.94l-.06-.12v-.11c-1.43-5.66-2.48-11.32-3.57-17s-2.09-11.35-3.08-17l-2.91-17.06c-.94-5.69-1.9-11.38-2.77-17.08l2.35-.19V60.9l.17 2.84q.21 2.84.51 5.67c.8 7.56 2.06 15.08 3.49 22.56s3.15 14.92 4.49 22.52c.15 1 .3 1.92.39 2.91s.12 1.85.28 2.8c.27 1.85.64 3.71 1 5.57.79 3.72 1.67 7.44 2.55 11.16 1.76 7.43 3.57 14.87 5.15 22.36.79 3.75 1.53 7.51 2.12 11.31.3 1.92.5 3.78.88 5.64s.78 3.71 1.23 5.56c1.82 7.4 4.16 14.68 6.64 21.9s5.13 14.3 7.92 21.44z"/><path class="cls-12" d="M228.32 76.93a4.75 4.75 0 00-2.27 1.89 22.14 22.14 0 00-1.58 2.55c-.95 1.77-1.77 3.61-2.55 5.46-1.56 3.71-2.93 7.49-4.39 11.25a41.38 41.38 0 01-2.52 5.6c-1.12 1.75-2.34 3.36-3.6 5-2.51 3.17-5.17 6.21-7.35 9.47a29.79 29.79 0 00-2.79 5.1 53.78 53.78 0 00-2 5.56c-1.14 3.79-2 7.68-2.8 11.59s-1.4 7.85-1.91 11.81-.91 7.92-1.05 11.81l-4.77-.28c.36-4.14 1-8.16 1.73-12.17s1.59-8 2.59-11.94 2.11-7.86 3.5-11.72a58.76 58.76 0 012.37-5.71 32.9 32.9 0 013.29-5.33c2.48-3.3 5.31-6.2 8-9.2 1.31-1.5 2.61-3 3.75-4.63a41.69 41.69 0 002.64-5.31c1.61-3.68 3.15-7.41 4.86-11.07.86-1.82 1.76-3.63 2.79-5.37a21.35 21.35 0 011.74-2.55 4.73 4.73 0 012.32-1.81zM178.08 124.41c-2.73-1.52-5.35-3.17-7.94-4.87-1.29-.86-2.58-1.73-3.84-2.62l-1.89-1.37a22.23 22.23 0 01-1.86-1.5 19 19 0 01-2.82-3.84c-.78-1.35-1.48-2.73-2.18-4.1s-1.27-2.83-1.89-4.24c-.31-.7-.62-1.4-1-2.09-.18-.34-.36-.68-.56-1a4 4 0 00-.35-.46c-.11-.13-.33-.29-.48-.12.14-.19.39 0 .51.09a4 4 0 01.38.44 9.08 9.08 0 01.63 1c.39.66.76 1.35 1.11 2 .72 1.37 1.37 2.77 2.16 4.07s1.57 2.65 2.42 3.9a17.76 17.76 0 002.87 3.42 44.66 44.66 0 003.76 2.51c1.3.8 2.61 1.59 3.94 2.35 2.66 1.52 5.36 3 8.09 4.3z"/><path class="cls-13" d="M229.57 77.3s-1.18-17.67 27.65-19.18c0 0-5.81 21.38-16 22.75-10.63 1.42-11.65-3.57-11.65-3.57z"/><path class="cls-14" d="M235.07 45.7s-16.58 16.38-7 28.1c6.25 7.63 14.66-4.48 11.47-14.67-2.09-6.8-4.99-9.86-4.47-13.43z"/><path class="cls-12" d="M202.13 117.2a10.07 10.07 0 002.59-1.52c.87-.65 1.64-1.36 2.63-2.13a3 3 0 01.56-.33l.38-.15.75-.31 1.54-.68a9.63 9.63 0 013.51-.93 4.92 4.92 0 01.51 0l.43.06a7 7 0 01.91.25 14.51 14.51 0 011.6.68 10.1 10.1 0 003 1.09 12.19 12.19 0 003.25-.28 6.91 6.91 0 011.7-.08 2.56 2.56 0 011.55.63 3.74 3.74 0 00-3.19-.23 13.07 13.07 0 01-3.37.62c-2.39-.08-4.46-1.67-6.36-1.45a8.19 8.19 0 00-2.85 1.1l-1.45.83-.77.41-.39.2s-.07 0-.14.12c-.74.64-1.58 1.5-2.46 2.25a12.5 12.5 0 01-3.07 2z"/><path class="cls-13" d="M231.07 106.3l.33-.18a10.94 10.94 0 014.94-1.09c2.22 0 3.78 1 5.82 1.49-2.27-.54-4.09 3.51-5.25 4.87a9.28 9.28 0 01-3.7 2.84c-2 .83-4.92 1.5-5.8-1.1-1.06-3.07 1.15-5.45 3.66-6.83z"/><path class="cls-14" d="M169.21 18.64C163.74 9.83 152.84 4.84 144.33 0c-.49 4.14-2.27 7.66-2 12 .34 5.1 2.37 9.71 4.54 14.3 3.07 6.51 10.54 13.73 18.23 12.77 9.48-1.16 7.81-14.47 4.11-20.43z"/><path class="cls-11" d="M154.69 29.45a31.71 31.71 0 00-13.88.35c-3.16.69-6.68 2.56-9.91 2.42 2 1.89 3.21 4.73 5 6.87a37 37 0 009.1 7.69c3.57 2.18 8.43 3.86 12.67 3.35s9.7-5.21 10-9.85c.46-5.76-8.48-9.85-12.98-10.83z"/><path class="cls-13" d="M166.43 43.72c-6.86-2.84-1.87-15.1 1.3-18.72 4.75-5.43 13.81-8.53 15.25-16.53 0 4.49 2.34 9 2.26 13.62a26.63 26.63 0 01-3.15 12.83c-3.39 5.87-6.45 7.79-12.63 10.2zM142.86 97.37a21.55 21.55 0 01-8.84 3.74 10.59 10.59 0 0011.92 4.89 10 10 0 005.52-3.06c1.52-1.85 2-5.46-.24-7s-6.35.13-8.36 1.43z"/><path class="cls-14" d="M236.27 109.32c-10.31-1.78-10.31 9.51-3.93 12.36 3.29 1.46 6.51.34 9.65-.87 2.15-.82 7.19-3.26 8.67-.39.06-4-3.9-5.27-6.29-7.52-4.08-3.82-8.1-3.58-8.1-3.58zM136.74 81.25c-1.26 5.75-1.43 12.07 3.78 15.91 4.46 3.27 13.76 4.4 12.57-3.58-.55-3.66-3.08-6.43-6.25-8.14-.93-.44-10.24-3.56-10.1-4.19z"/><path d="M112.68 272.53c-1.3 4.59-4.36 8.86-5.56 13.69-1.67 6.7-1.41 13.41-1.82 20.32-1.16 19.7 3.58 40.07-8.91 58.15-4.65 6.73-10.49 12.2-16.17 18.26-3.51 3.75-4 5.3-2.5 9.83 3 9.3 11.34 15 20.92 19.7 15.51 7.55 40.18 9.69 56.88 4 2.41-7.89-.61-16.27-15-18.87 15.34-7.11 27.27-34.18 26.5-48.16" fill="url(#radial-gradient)" stroke="#f7b956" stroke-width="4.78"/><path class="cls-7" d="M220.21 307.77c.21 23.3-12.84 48.7-38.51 55.66-20.69 5.61-44.84 2.5-64.33-5.49-9.17-3.75-19.27-11.36-23.81-19.67-7.93-14.49-2.63-34.09-3.15-49.81-.61-18.24-.5-38.38-8.38-61.76-6.53-19.39-14.63-32.44-34.29-49.14-17.53-11.15-27.74-34.8-21.69-54.27 5.86-18.7 22.89-30.57 43.55-31.22 14.08-.46 30.56 3.06 40.69 12.8 10.94 10.54 11.78 24.45 13.52 37.95v.32c.07.63.17 1.3.27 2v.12a138.39 138.39 0 004 17.32 87.64 87.64 0 0013.67 26c11.92 16 28.39 27.93 41.7 42.79a203.42 203.42 0 0119.32 25.52c9.88 15.27 17.23 32.86 17.44 50.88z"/><g mask="url(#mask-2)"><path d="M112.52 327.09c-19.34-31.25-4.47-69.93-17.85-104.15-11.91-31.25-41.67-47.62-62.5-74.4a32.44 32.44 0 01-5.17-27.9c-.34.87-.67 1.75-.95 2.65-6.09 19.47 4.16 43.12 21.69 54.27C67.4 194.26 75.5 207.31 82 226.7c7.88 23.38 7.77 43.52 8.38 61.76.52 15.72-4.78 35.32 3.15 49.81 4.54 8.31 14.64 15.92 23.81 19.67 19 7.81 42.54 10.94 62.92 5.83-26.01 2.23-50.45-7.29-67.74-36.68z" style="mix-blend-mode:multiply" fill="url(#linear-gradient-4)" opacity=".3"/></g><path d="M101.09 107.84a50.83 50.83 0 00-6.73-.3c-2.29.17-4.06-3.62-1.5-5.05a9.37 9.37 0 014.25-.49 11.36 11.36 0 014.36.87c2.9 1.68 1.94 5.35-.38 5zm-1.48 20.29a70.31 70.31 0 00-7.15 2.49 50.79 50.79 0 00-6.63 3.46c-4.39 2.61-11.93-4.37-8.27-10.26 1-1.51 4.16-3.68 7.92-5.32s7.7-2.54 9.7-2.26c7.6 1 9.48 10.41 4.43 11.89zm-30.17-9.82a35.34 35.34 0 00-3.79 4.81c-1.05 1.84-5 .31-4.83-2.74a8.56 8.56 0 011.81-3.53 8.36 8.36 0 013-2.62c2.88-.93 5.28 2.58 3.79 4.08z" fill="#0d4d8b"/><path d="M62.21 134.34c.95 2.2 5.47 4.39 7.42 5.69 5 3.35 12.91 3.57 18.78 3.34 12.12-.5 26.21-12.61 20.46-25.49" stroke="#ae833a" stroke-width="2.39" fill="none" stroke-miterlimit="10"/><path d="M194.45 198.95l4.04 8.92-8.09 4.29-.84-5 4.89-8.21z"/><path class="cls-7" d="M134.81 336.61c6.22 15 16.2 30.22 26 42.85 15.82 20.31 37.81 39.65 62.12 47.61 9.52 3.11 15.66 3.33 24-2.5 8.64-6 14-13 19.06-22.67 5.81-11.1 15.95-47.06-4.95-48.79-5.67-.46-13.73 3.91-18.37 7.07-2.66 1.8-4.29 3.83-7.3 4.19-3.52.41-8.4-2.21-11.52-3.64-10.91-5-17.46-13.9-25.27-22.76-4.83-5.5-10.17-12.17-13.55-18.84-1.54-3-6-11.64-4.92-14.22"/><path d="M221.46 192.12l.47 6.83-8.35 1.31 1.33-4.88 6.55-3.26z"/><path class="cls-4" d="M240.25 267.21c0-11.71 14.11-18 15.68-20.87 1.39-2.56-8.07-4.17-10.26-6.22-2.52-2.38-4.38-5.23-7.27-7.44-5-3.81-10.9-11.62-19.09-11.08-2.71.17-6.46 2.22-10 3-3.16.68-7.5.36-11 1.2-3.67 6.81-12.11 12.23-17.1 18.27-5.79 7-3.33 13-1.37 19.58 2.61 8.73 8.22 15.62 11.75 23.81a17.15 17.15 0 0017 10.4c14.86-.7 31.66-16.3 31.66-30.65z"/><path class="cls-4" d="M187.12 221.88c-3.11-1.81-6.45-5.87-10.3-6.2 2.69-1.27 6.38-6.27 17.63-16.73-1 1.69-2.31 8.65-3.3 10.46 8.58-4.42 20.79-16.94 30.31-17.29-2.05 1.63-4.47 3.49-5.71 5.73 6.2-3.93 16-.56 23-1.23-11.83 6.37-13.17 14.56-15 24.92a36.15 36.15 0 01-36.63.34z"/><path d="M194.67 226.37c4.58-1.71 11.7-4 16.73-3.93 4.08 0 9.38 3.27 12.77-.33" stroke="#c49a6c" stroke-linecap="round" stroke-width="7.17" fill="none" stroke-miterlimit="10"/><path class="cls-7" d="M28.31 136C13.49 133.36 7.49 118.66 13 107.53c4.1-8.24 14.18-14.81 24.3-10.16A22.71 22.71 0 0149.15 109"/><path d="M20.5 123.63c4 4.23 6.66 2.61 9.45-1.41 2.47-3.56 5.21-6.27 7.88-9.67 6.57-8.33-4.52-11.78-11-7.83-6.77 4.06-12.92 11.95-6.33 18.91z" fill="#194276"/><path class="cls-7" d="M203 261.29c2.09-5.31-8.93-22.88 5.11-20.79 10.24 1.54 11.29 14.05 11.29 21.88"/><path class="cls-4" d="M177.6 278c0 15.92 6.9 29 15.46 34.22 3.76 2.29 11 2.28 15.37 2.52a61.1 61.1 0 0018.71-1.49 199.27 199.27 0 00-6.56-40.25z"/><path class="cls-7" d="M136.82 200.61s22.46 37.17 63.77 56.2c0 0 8.55 4 9.89 4.61 4.83 2.11 11.15 2 16.29 1.08 4.26-.79 8.46-3.6 13.14-2.85 9.2 1.47 9.45 12.27 8 19.16-3.25 14.82-24.94 27.05-39.06 24.56 0 0-49.22-3.56-84.9-68.53"/></g></g></g></svg>
 </div>
              
            
!

CSS

              
                .wrapper {
  text-align: center;
  margin-top: 10px;
  background: #eee;
  overflow:hidden;
}
.bear {
  width: 200px;
}
.animated {
   animation-name: bearMoves;
   animation-duration: 12s;
   animation-iteration-count: infinite;
   transform-origin: 50% 50%;
 }
 @keyframes bearMoves {
   0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0; }
   20%  { transform: translate(0, 0); opacity: 1; }
   30%  { transform: translate(0, -200px); }
   40%  { transform: translate(0, 200px); }
   50%  { transform: translate(0, 0) scale(1.5) rotate(-360deg); }
   60%  { transform: translate(-200px, 0); }
   70%  { transform: translate(0, 0); }
   80%  { transform: translate(200px, 0); opacity: 1; }
   100% { transform: translate(0, 0) scale(1); opacity: 0; }
}
              
            
!

JS

              
                
              
            
!
999px

Console