Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                

Formula 1

<div class="track_item direction-counterclockwise" style="width: 150px;">
  <svg width="154" height="63" viewBox="0 0 154 63" xmlns="http://www.w3.org/2000/svg"><path class="race_track_path" d="m21.979 1 127.046 4.32c.431-.01 1.873.018 2.7.746.341.3.604.697.72 1.223.083.38.089.843-.051 1.405a270.58 270.58 0 0 0-.609 2.52 747.8 747.8 0 0 0-.919 3.933c.587.616.958.744 1.23.898.457.259.705.606.827 1 .173.565.017 1.367-.547 2.368-.347.617-1.081 1.747-1.73 2.725l-.272.408c-.44.659-.802 1.192-.916 1.358-.111.205-.524.853-1.49 1.3-.492.23-1.145.41-2 .41h-5.136c-.285.005-1.274.053-2.01.672-.388.325-.68.827-.749 1.565-.12 1.294.04 2.31.45 3.147.473.969 1.268 1.686 2.244 2.34.537.36 1.024.646 1.447.894.804.473 1.404.854 1.774 1.277.438.5.648 1.056.576 1.805-.142 1.492-1.496 2.56-2.646 3.319-.972.671-1.453 1.01-2.082 1.434a80.256 80.256 0 0 1-14.04 7.46 560.087 560.087 0 0 1-9.034 3.595l-.807.314-.812.315-.814.316-.781.301-.39.15-1.17.451c-7.522 2.89-14.623 5.53-15.506 5.775-1.5.418-5.198 1.256-11.318 1.256-6.11 0-10.968-1.242-16.24-3.322-1.45-.572-2.722-1.182-3.936-1.765-2.983-1.434-5.585-2.708-9.799-2.637-2.575.044-7.826.182-13.178.326l-.893.024-.893.024c-6.246.168-12.24.329-13.883.338-1.102-.012-3.336-.599-5.808-1.271-2.79-.76-5.906-1.623-7.844-1.677-1.62-.045-2.863.144-3.952.307-1.44.215-2.647.375-4.013.076-1.561-.341-2.658-1.11-3.254-2.421-.492-1.08-.634-2.603-.243-4.732.395-2.16 1.856-4.398 3.856-6.093 1.926-1.632 4.334-2.748 6.677-2.857 4.66-.218 6.737 1.264 9.998 4.108 1.507 1.313 3.168 2.383 4.983 2.607 1.417.175 2.912-.196 4.48-1.34 4.326-3.156 6.133-3.749 8.955-3.749 2.643 0 6.727 2.513 8.895 3.897 1.064.676 3.968 2.403 6.935 4.147l.741.436c3.088 1.812 6.082 3.55 6.97 4.047a25 25 0 0 1 1.064.646c1.706 1.074 4.182 2.647 8.306 2.887 5.019.291 9.741-1.152 12.355-2.708 2.408-1.432 3.688-3.766 3.866-5.637.085-.89-.056-1.707-.185-2.512-.184-1.146-.345-2.27-.104-3.484.494-2.486.749-2.703 2.25-3.69.411-.27 1.042-.739 1.689-1.234a182.357 182.357 0 0 0 2.602-2.043c.064-.063.29-.313.22-.655-.063-.304-.328-.618-.81-.968-1.042-.756-7.765-4.877-14.945-9.24l-.964-.585-1.933-1.173-.963-.584-.714-.432c-7.238-4.383-13.815-8.335-14.32-8.612a21.281 21.281 0 0 1-.582-.341c-1.702-1.018-6.121-3.702-10.555-3.702-5.065 0-10.119 2.57-12.746 4.039-1.58.883-3.57 1.573-5.458 1.784-1.75.195-3.405-.03-4.645-.788-2.397-1.468-6.864-4.39-8.113-5.84-.458-.531-.71-1.082-.79-1.593-.101-.632.04-1.226.412-1.73.508-.69 1.55-1.282 3.324-1.278Z" stroke="#FEFEFE" stroke-width="2" fill="none" fill-rule="evenodd"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>




<div class="track_item direction-counterclockwise" style="width: 158px;">
  <svg width="161" height="82" viewBox="0 0 161 82" xmlns="http://www.w3.org/2000/svg"><path class="race_track_path" d="M155.783 1.198c1.251-.173 1.91-.236 2.366-.161.718.117 1.164.459 1.43 1.137.312.725.475 1.294.074 2.214-.24.553-.764 1.296-1.825 2.409-1.126 1.181-3.547 3.65-5.983 6.128l-.663.674-1.685 1.713c-1.758 1.787-3.282 3.336-4.004 4.079-.225.23-.492.506-.79.813-.941.972-2.185 2.248-3.38 3.458l-.42.424-.615.618-.394.394c-1.227 1.222-2.216 2.172-2.478 2.332a43.14 43.14 0 0 0-.055.033l-.216.132c-.656.387-1.492.709-5.365 1.125-2.692.289-5.76.669-7.88.932-1.25.155-2.173.269-2.507.301-1.455.157-1.903.073-2.484-.372-.568-.434-1.442-1.776-1.947-2.953-.16-.374-.525-.734-.995-1.028a4.287 4.287 0 0 0-1.782-.608c-1.564-.177-3.194 1.3-5.166 3.686-2.406 2.91-5.26 3.634-5.942 3.77l-.117.047-.117.047c-.477.178-1.061.238-2.75-.814-.62-.386-1.631-1.015-2.704-1.672l-.54-.33c-1.717-1.045-3.453-2.073-3.904-2.234-.898-.34-1.712-.702-2.771-.432-1.348.344-4.194 1.428-5.228 2.356-.949.851-2.095 2.63-2.208 3.14-.276 1.673-.857 4.751-1.852 5.934-1.176 1.399-4.426 2.446-5.226 2.67-.878.225-2.296.599-3.454 2.825-.255.49-.473.92-.663 1.299l-.349.695c-.815 1.614-1.176 2.175-1.828 2.743-.914.796-3.916 2.697-7.901 4.645-1.328.65-2.645 1.19-3.867 1.69-2.17.888-4.052 1.595-4.982 2.7-1.378 1.639-2.563 3.585-2.433 6.684.115 2.728 1.258 6.547 1.953 8.892.157.532.293.99.392 1.35.674 2.446.857 4.75.352 5.423-.389.52-.82.762-1.262.854-.446.093-.939.026-1.487-.235-.628-.299-3.442-2.02-6.13-4.53-1.188-1.108-10.137-9.57-19.48-18.408l-1.22-1.154-.611-.578-1.22-1.154-6.809-6.441c-5.19-4.91-9.576-9.06-11.584-10.957l-.4-.378-.754-.712c-.443-.4-1.072-1.16-.89-2.2.117-.786.215-1.11 1.011-1.58.404-.238 1.12-.538 2.437-.981.78-.262 2.372-.805 4.304-1.463l4.036-1.373.647-.22c4.316-1.466 8.582-2.906 9.12-3.044 1.792-.455 2.682-.535 3.315-.324.9.3 1.751 1.14 2.205 1.897l.72 1.237c1.912 3.292 7.022 12.163 7.513 12.631.792.909 1.422 1.634 3.877 2.473 3.16 1.08 3.45 1.208 4.751 1.208 1.334 0 4.312-1.15 5.223-1.552l.216-.093.438-.183c.874-.367 1.715-.742 2.047-1.283.744-1.201 1.843-2.887 1.985-3.762.152-.94.361-2.085.234-2.748-.064-.333-1.338-3.153-2.714-6.18l-.244-.537-.244-.538-.842-1.853a827.416 827.416 0 0 1-1.557-3.448l-.157-.35c-.323-.726-.534-1.21-.574-1.33-.19-.574-.228-1.235-.073-1.758.188-.639.615-1.108 1.295-1.278.802-.2 3.642.002 4.378.303.705.288 2.331 2.115 3.301 3.344 1.074 1.358 1.843 2.414 2.056 3.388.061.28.121.672.185 1.1.108.72.105 1.707.354 1.94.386.362 1.102.675 3.05.912.25.03.49.064.726.097 1.059.153 1.846.288 2.392.21.52-1.041.152-1.418-.75-3.115-.533-1.004-1.688-3.003-2.9-5.08l-.5-.858c-.528-.903-1.05-1.796-1.52-2.597-.984-1.677-1.734-2.96-1.818-3.13-.24-.48-.4-1.204-.232-1.74.055-.177.152-.35.273-.513 2.038-.687 6.086-.789 11.226-.88 2.231-.04 4.672-.083 7.155-.135l.93-.02.931-.02c5.266-.12 10.536-.286 14.22-.545 9.759-.686 28.36-2.285 42.007-4.953 8.594-1.68 13.714-2.848 16.749-3.54 1.837-.418 2.93-.664 3.568-.751Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>



<div class="track_item direction-counterclockwise" style="width: 143px;">
  <svg width="143" height="88" viewBox="0 0 143 88" xmlns="http://www.w3.org/2000/svg"><path class="race_track_path" d="m120.967 60.744 12.815 25.15s1.978 2.054 3.66.132l3.9-10.373s.609-2.051-1.89-1.876c-2.498.175-4.496.33-4.496.33s-1.219.152-1.214-1.34c.005-1.493-.27-13.584-.27-13.584s-1.909-32.382-2.032-33.202c-.124-.821-.998-11.641-4.59-17.1 0 0-.744-1.462-2.384-1.068-1.64.394-3.662.762-4.41-1.14-.748-1.901-2.562-5.027-2.562-5.027s-.536-1.052-2.584-.303C112.862 2.092 5.844 56.915 5.844 56.915s-7 3.11-3.978 14.615c0 0 .62 2.358 3.148 1.016 2.528-1.343 6.416-3.433 7.872-3.14 0 0 1.747-.068 1.756-3.256 0 0 .009-4.792 3.231-1.618 3.223 3.174 8.353 12.08 11.014 10.837 2.662-1.244 28.516-14.153 28.516-14.153s3.337-1.99 8.438-2.51c5.1-.52 10.76-1.084 10.76-1.084s2.5-.162 4.132 1.348c1.632 1.51 3.677 4.125 6.251 3.224l10.58-5.267s3.773-1.785 5.723-1.102c1.951.683 7.843 4.83 14.365 3.438 0 0 1.873-.489 3.315 1.48Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>



<div class="track_item direction-counterclockwise" style="width: 132px;">
  <svg width="132" height="79" viewBox="0 0 132 79" xmlns="http://www.w3.org/2000/svg"><path class="race_track_path" d="M7.483 34.016s-12.58 6.85-1.785 12.125l2.787 1.398s2.628 1.033 1.283 5.419C8.424 57.344 5.577 77.174 28.1 77.359c22.523.185 72.678.567 72.678.567s6.05-.146 5.72-5.796c-.33-5.649-.745-11.635-.745-11.635s-1.3-7.737-9.201-10.961c-7.9-3.225-37.519-14.647-37.519-14.647s-5.956-3.352-5.29-11.13c.665-7.778 4.09-8.453 4.09-8.453l11.57-5.482s9.093-3.521 6.968 4.89l-1.507 4.039s-.915 2.569 1.65 5.089c2.566 2.52 6.062.536 6.062.536s1.81-1.212 2.96-2.961c1.148-1.75 4.041-6.975 4.041-6.975s2.373-3.677 4.758-4.823c2.385-1.147 7.178-3.478 7.178-3.478s2.483-.36 3.224 1.436c.741 1.796.15 2.82.15 2.82s-7.08 10.273-7.71 11.924c-.631 1.651-1.505 7.162.706 10.41 2.21 3.248 4.789 5.032 7.991 6.132 3.203 1.1 19.137 5.943 19.137 5.943s3.758.707 4.246-3.837c.488-4.543.964-10.84.964-10.84s-.134-1.94-.987-3.96C128.381 24.149 118.8.807 103.78 1.178c-15.019.372-31.538.926-31.538.926s-6.693.244-16.067 5.106C46.802 12.071 7.483 34.016 7.483 34.016Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>



<div class="track_item direction-counterclockwise" style="width: 132px;">
  <svg width="132" height="82" viewBox="0 0 132 82" xmlns="http://www.w3.org/2000/svg"><path class="race_track_path" d="M34.664 2.359c1.093-1.085 2.127-1.725 4.743-1.08l.504.127c2.178.553 4.295 1.25 6.644 3.76 2.554 2.731 2.965 4.874 3.259 6.576.213 1.236.177 3.537.143 5.275-.01.525-.02.997-.02 1.365v.551l-.002 1.423v.444l.001.225v.674c.004 1.185.018 2.258.094 2.51.437.478.799.48 1.333.481h.6c1.448-.004 3.607-.033 5.87-.063l.682-.009.685-.009.683-.009a474.07 474.07 0 0 1 5.508-.048c2.2 0 7.07-.176 12.112-.358l1.121-.04 1.165-.042c4.861-.174 9.534-.33 11.805-.317l.788.004c4.854.028 11.59.092 13.881-.537 2.077-.57 3.271-2.3 3.616-3.151.426-1.034 1.128-2.391.774-3.326-.425-1.125-2.053-2.929-3.1-3.976-1.294-1.294-2.198-3.077-2.321-5.39-.06-1.123.139-2.057.473-2.8.433-.96 1.098-1.615 1.79-1.98a3.528 3.528 0 0 1 2.077-.37c.77.097 1.457.441 1.906.918 1.264 1.344 8.246 7.333 8.504 7.554.645.587 1.756 1.599 2.915 2.65l.58.527a277.95 277.95 0 0 0 2.582 2.32c1.255 1.099 3.273 3.62 3.822 5.186.524 1.499.85 5.84.85 8.991l-.001 3.032-.001 3.48v2.805l-.002 2.56v2.157l-.001.55v1.674l-.001.563v1.133l-.001.57v1.139l-.001.57v1.14l-.001.568v1.131l-.001.562v1.116l-.003 2.72v1.05l-.001.378v.742l-.002 1.084v.701l-.001.344-.001.672-.002 1.588v.595c-.005 2.911-.01 4.882-.016 5.2.01 1.358-.074 2.114-.44 2.66-.264.398-1.31 1.472-2.098 2.266-.363.365-.661.663-.757.776-.164.194-.158.564-.144.862.105 1.356-.071 2.126-.56 2.55-.542.47-.78.639-2.183.65l-3.313.005h-4.84c-1.35-.003-2.79-.006-4.257-.012l-.803-.004-1.611-.009c-3.765-.023-7.47-.066-10.038-.143-2.652-.08-4.922-.188-7.132-.294-3.804-.181-7.43-.355-12.54-.355h-.874c-1.242.002-2.61.008-4.053.013-1.856.007-3.836.014-5.835.015h-1.685c-6.222-.008-12.328-.094-15.171-.441-4.934-.603-10.47-1.675-13.76-2.69-.46-.142-.92-.28-1.38-.417l-1.384-.415c-2.349-.706-4.702-1.456-7.183-2.598-1.288-.593-2.917-1.415-4.565-2.278l-.824-.434a224.244 224.244 0 0 1-6.085-3.337c-.996-.573-3.035-1.64-5.056-2.683l-.641-.33c-1.58-.813-3.08-1.576-3.991-2.04-.317-.16-.562-.285-.715-.364-1.162-.594-2.685-1.216-3.175-1.37-.715-.227-1.891-.77-2.218-1.28-.294-.457-.581-1.485-.145-4.038.048-.276.09-.611.14-.992.343-2.632 1.007-7.152 4.322-9.894 3.252-2.69 6.269-3.81 7.832-4.387.216-.08.402-.149.553-.21 1.965-.74 5.998-2.175 7.72-5.364 1.953-3.62 2.478-7.09 2.504-12.034.009-1.627.034-3.721.068-5.86l.012-.713c.075-4.447.191-8.877.28-9.57.18-1.405.703-2.224 1.128-2.613.588-.539 1.379-.866 2.022-.728.196.042 1.241.538 2.331 1.103l.451.236c.35.182.69.361.99.519.51.268.895.471.979.51.173.078 1.018.401 1.488.083.425-.289.548-.653.563-1.003-.024-.742-.015-1.016.042-1.228Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>







Indycar

<div class="track_item direction-counterclockwise" style="width:152px;">
  <svg width="152" height="63" viewBox="0 0 152 63" xmlns="http://www.w3.org/2000/svg">
    <path class="race_track_path" d="M25.834 62h102.109s16.976-3.277 11.022-17.015l-3.167-6.301s-.76-3.151 3.8-3.025c4.56.126 8.868-.004 8.868-.004S151 35.68 151 31.321V18.015S148.593 1.126 128.07 1h-12.162s-3.8.252-3.674 6.05v10.453s-.161 1.002-1.323 1.696c-1.162.693-6.662 3.16-6.662 3.16s-1.239.385-1.239 1.849v5.857s-.232 1.435-1.937 1.435h-71.73s-1.597.106-3.51 1.647c-1.912 1.541-2.376 2.235-3.77 2.235H5.06S1 35.807 1 39.312c0 3.506 4.52 10.975 7.66 11.813 3.141.838 6.589.686 6.589.686h5.592s2.988.61 2.988 2.972v5.183S23.472 62 25.834 62Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>


<div class="track_item direction-clockwise" style="width: 138px;">
  <svg width="138" height="68" viewBox="0 0 138 68" xmlns="http://www.w3.org/2000/svg">
    <path class="race_track_path" d="M122.124 66.5H15.876C7.66 66.5 1 60.482 1 53.059V14.94C1 7.518 7.66 1.5 15.876 1.5h106.248C130.34 1.5 137 7.518 137 14.941V53.06c0 7.423-6.66 13.441-14.876 13.441Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>


<div class="track_item direction-counterclockwise" style="width: 175px;">
  <svg width="175" height="50" viewBox="0 0 175 50" xmlns="http://www.w3.org/2000/svg">
  	<path class="race_track_path" d="M110.232 45.803V33.497s-.193-3.269 3.275-3.269h56.638s2.89.385 2.89-2.884.963-21.15.963-21.15.193-3.365-3.371-3.365S3.89 1.002 3.89 1.002 1 .81 1 3.887c0 3.076 1.156 3.46 3.468 3.46H27.2s2.794 0 2.794 2.789v27.783s0 3.029 3.034 3.029h12.281s2.915-.038 3.579 2.081c.663 2.119 1.46 4.9 4.378 5.165 2.919.264 53.337.794 53.337.794s3.629.382 3.629-3.185Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>


<div class="track_item direction-counterclockwise" style="width: 108px;">
  <svg width="107" height="76" viewBox="0 0 107 76" xmlns="http://www.w3.org/2000/svg">
  	<path class="race_track_path" d="M6.577 40.503S1 39.038 1 46.03c0 6.991 2.083 23.639 2.083 23.639s2.016 5.326 5.376 5.326h84.666s6.384.4 6.384-6.325c0-6.726-1.949-9.123-1.949-9.123s-2.89-8.856 0-11.72l4.894-4.849c1.25-1.238 3.546-8.134 3.546-10.427 0-2.293-3.702-3.118-3.702-3.118S85.22 25.81 78.14 18.793C71.06 11.778 59.629 2.377 59.629 2.377S57.922 1 53.5 1 27.975 5.678 27.975 5.678s-7.737 4.474-3.923 12.955c3.814 8.482 13.303 3.319 13.303 3.319l6.234-5.255s2.418-2.12 5.86 2.674c3.443 4.794 12.746 16.778 12.746 16.778s1.302 2.412 5.21 2.412h10.79s3.07.446 3.07 2.935v16.318s0 2.12-2.604 2.12c-2.605 0-29.863-9.219-29.863-9.219s-13.442-4.886-15.627-5.57c-2.185-.684-26.594-4.642-26.594-4.642Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>


<div class="track_item direction-counterclockwise" style="width: 98px;">
  <svg width="97" height="80" viewBox="0 0 97 80" xmlns="http://www.w3.org/2000/svg">
  	<path class="race_track_path" d="M62.39 75.06s-.451 3.747 3.613 3.897c4.064.15 15.554-.099 17.111-.592 1.558-.493 4.957-1.621 6.373-1.621h5.098s1.412.008 1.412-1.406V55.597s.216-1.904-2.828-1.904h-20.25s-2.124-.14-2.124 2.115c0 2.256-.071 1.41-.071 1.41s.141 1.55-1.062 1.057c-1.204-.493-2.974-1.973-4.956-1.62-1.983.352-4.107 1.409-4.107 1.409s-1.062 1.128-2.903-1.551c-1.84-2.678-25.419-22.98-29.242-25.729-3.823-2.749-14.727-11.208-14.586-18.468l.142-7.26s-.283-2.01-2.018-2.01H9.48s-.932.126-1.201-.31c-.27-.434-1.647-1.64-2.656-1.706-1.008-.067-3.227 0-3.227 0S1 1.03 1 2.419v2.593S1.269 6.61 2.605 6.61c1.336 0 4.611-1.123 4.611-1.123s.895-.427 1.54-.427h2.685s1.002-.107 1.002 1.425v5.989s-1.103 8.495 15.2 19.428c0 0 27.352 22.954 30.012 26.893s4.8 9.629 4.735 16.265Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>





<div class="track_item direction-counterclockwise" style="width: 72px;">
  <svg width="70" height="76" viewBox="0 0 70 76" xmlns="http://www.w3.org/2000/svg"><path class="race_track_path" d="M14.403 51.235s3.099 1.568 2.145 4.705c-.953 3.136-5.481 14.958-5.481 14.958S9.938 75 13.899 75h26.72s2.62-.241 6.315-1.568c3.693-1.327 8.018-2.124 10.01-4.14 1.991-2.016 10.308-9.488 10.308-9.488s2.265-5.534-1.483-5.534c0 0-2.082-.04-3.588 2.356-1.506 2.396-4.745 8.08-6.764 9.357-2.018 1.277-5.992 2.554-8.579-.064-2.586-2.618-6.812-14.684-6.812-14.684s-1.546-3.165 3.28-8.05c4.826-4.886 10.03-9.516 12.237-9.516 2.208 0 10.77-2.171 12.388-4.854 1.616-2.682 1.221-7.152 0-8.557-1.222-1.405-18.885-17.754-18.885-17.754s-4.17-3.384-9.087 0C35.042 5.89 19.966 18.406 19.966 18.406s-3.532 2.363-5.55 2.874c-2.02.51-1.136 2.49-1.136 2.49s1.703 2.938-.253 4.534c-1.955 1.597-9.272 6.642-9.272 6.642s-5.3 4.023-1.199 7.919c4.1 3.896 11.847 8.37 11.847 8.37Z" stroke="#FFF" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/>
    <path class="moving_arrow" cx="0" cy="0" d="M0 7.387 13.13.115l-.262 14.997z" fill="#F47920" fill-rule="evenodd"/>
  </svg>
</div>








              
            
!

CSS

              
                body {
  height: auto;
  place-items: center;
  margin: 0;
  background: #000000;
  color: #ffffff;
}

.hidden {
  display:none;
}

.track_item {
  margin: 50px;
}

svg {
  overflow: visible;
  width: 100%;
  height: 100vh;
}


body {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  // display: block;
  display: grid;
  grid-template-columns: auto auto auto auto;

}

.track_item {
  // width: 400px;
  // max-height: 80px;
  margin: auto;
  padding: 50px 25px;
  
}

.track_item svg {
  width: 100%;
  height: 100%;
}

              
            
!

JS

              
                
let moving_arrows_rtl = gsap.utils.toArray(".track_item.direction-counterclockwise .moving_arrow"); 
let moving_arrows_ltr = gsap.utils.toArray(".track_item.direction-clockwise .moving_arrow"); 


moving_arrows_rtl.forEach(arrow => {
  
  race_track_parent = arrow.closest(".track_item.direction-counterclockwise").querySelector('.race_track_path')
 
  gsap.to(arrow, {
    duration: 7,
    repeat: -1,
    // repeatDelay: 3,
    // yoyo: true,
    // ease: "power1.inOut",
    ease:Linear.easeNone,
    motionPath:{
      // path: ".race_track_path",
      // align: ".race_track_path",
      path: race_track_parent,
      align: race_track_parent,
      // autoRotate: true,
      autoRotate: 180,
      alignOrigin: [0.5, 0.5],
      start: 0,
      // end: .5,
      end: 1
    }
  })

});



moving_arrows_ltr.forEach(arrow => {
  
  race_track_parent = arrow.closest(".track_item.direction-clockwise").querySelector('.race_track_path')
 
  gsap.to(arrow, {
    duration: 7,
    repeat: -1,
    // repeatDelay: 3,
    // yoyo: true,
    // ease: "power1.inOut",
    ease:Linear.easeNone,
    motionPath:{
      // path: ".race_track_path",
      // align: ".race_track_path",
      path: race_track_parent,
      align: race_track_parent,
      // autoRotate: true,
      autoRotate: 180,
      alignOrigin: [0.5, 0.5],
      start: 1,
      // end: .5,
      end: 0
    }
  })

});









              
            
!
999px

Console