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 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

              
                .soup
	%sup s
	%span
		<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 102.36 102.36"><defs><style>.cls-1,.cls-2{fill:#000;}.cls-2{fill-rule:evenodd; fill:orange;}</style></defs><title>soup</title><path class="cls-1" d="M327,510a44.37,44.37,0,1,1,44.37-44.37A44.42,44.42,0,0,1,327,510Zm0-87a42.6,42.6,0,1,0,42.6,42.6A42.65,42.65,0,0,0,327,423Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M327,516.81a51.18,51.18,0,1,1,51.18-51.18A51.24,51.24,0,0,1,327,516.81Zm0-100.59a49.41,49.41,0,1,0,49.41,49.41A49.47,49.47,0,0,0,327,416.22Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M347.85,494.67l-0.17,0c-4.41,0-7.77-1.27-9.94-3.87a12.06,12.06,0,0,1-2.56-7.83A0.92,0.92,0,0,1,336,482h0.18c1.12-.12,6.23-0.43,9.62,3.46a13.44,13.44,0,0,1,3,8,0.89,0.89,0,0,1-.27.92A0.89,0.89,0,0,1,347.85,494.67ZM337,483.73a10.12,10.12,0,0,0,2.14,5.91c1.69,2,4.3,3.11,7.77,3.23a11.24,11.24,0,0,0-2.45-6.23A9.4,9.4,0,0,0,337,483.73Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M293.91,469.68a12.61,12.61,0,0,0,7.78,2.48c5.08-.34,7.74-4.87,8-5.26h0v0h0a11.21,11.21,0,0,0-7.21-2.55c-2.61.12-5.63,1.42-8.52,5.34h0v0h0Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M340.3,451.57h-0.08a0.89,0.89,0,0,1-.72-0.47,0.91,0.91,0,0,1-.07-0.17c-0.57-1-2.75-5.59-.48-10.18a13.47,13.47,0,0,1,6.31-5.82,0.89,0.89,0,0,1,1-.06l0.09,0.06a0.89,0.89,0,0,1,.35.55c1.73,4.07,1.8,7.65.23,10.65a12.13,12.13,0,0,1-6.24,5.35A0.92,0.92,0,0,1,340.3,451.57Zm5.06-14.68a11.24,11.24,0,0,0-4.81,4.65,9.4,9.4,0,0,0,.18,8,10,10,0,0,0,4.64-4.24C346.58,443,346.58,440.14,345.35,436.89Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M308.85,447.58A0.89,0.89,0,0,1,308,447l-3.12-9.54a0.89,0.89,0,1,1,1.68-.55l3.12,9.54a0.89,0.89,0,0,1-.57,1.12A0.9,0.9,0,0,1,308.85,447.58Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M333,495.08a0.94,0.94,0,0,1-.25,0l-9.63-2.81a0.89,0.89,0,0,1,.49-1.7l9.63,2.81A0.89,0.89,0,0,1,333,495.08Z" transform="translate(-275.84 -414.45)"/><path class="cls-1" d="M358.46,466.29h-0.15a0.89,0.89,0,0,1-.73-1l1.66-9.9a0.89,0.89,0,0,1,1.75.29l-1.66,9.9A0.89,0.89,0,0,1,358.46,466.29Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M334.39,476c-4.56,0-9.62-.54-12.47-2.6-3.71-2.67-8.13-11-6.61-18.06,0.68-3.13,2.86-7.14,9.42-8.47,0.06,0,5.36-1,7.1,1.66,1,1.57.48,3.75-1.62,6.66h0a1.83,1.83,0,0,1-1,.59c-1.18.39-2.36,0.9-2.73,2.48l-0.15.61c-0.48,1.85-1.36,5.28.68,7.72s6.83,3.54,14,3a0.88,0.88,0,0,1,.8.38l2.74,4a0.89,0.89,0,0,1-.6,1.38A71.19,71.19,0,0,1,334.39,476ZM327,448.45a10,10,0,0,0-1.91.17c-4.51.91-7.22,3.31-8,7.11-1.3,6,2.63,13.88,5.92,16.25,4.37,3.16,15.38,2.24,19.31,1.79l-1.63-2.38c-7.52.49-12.57-.74-15-3.66-2.63-3.14-1.55-7.3-1-9.3l0.14-.57a5.23,5.23,0,0,1,3.9-3.76l0.26-.09c1.48-2.08,2-3.69,1.46-4.52S328.35,448.45,327,448.45Zm2.39,6.33h0Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M325.61,457.41a0.88,0.88,0,0,1-.56-0.2c-3.08-2.56-7.76-3.22-7.81-3.23a0.88,0.88,0,0,1-.76-1,0.87,0.87,0,0,1,1-.76,19.34,19.34,0,0,1,8.7,3.62A0.89,0.89,0,0,1,325.61,457.41Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M316.91,463.51a0.89,0.89,0,0,1-.41-1.67c0.18-.09,4.53-2.29,8.41-0.25a0.89,0.89,0,1,1-.82,1.57c-3.07-1.61-6.74.24-6.78,0.26A0.87,0.87,0,0,1,316.91,463.51Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M321.15,471.59a0.9,0.9,0,0,1-.29,0,0.88,0.88,0,0,1-.55-1.12,7.07,7.07,0,0,1,5.47-4.28,0.89,0.89,0,1,1,.33,1.74A5.33,5.33,0,0,0,322,471,0.89,0.89,0,0,1,321.15,471.59Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M329.95,475.23a0.94,0.94,0,0,1-.79-0.43c-0.19-.3-1-2,1.45-5.38a0.89,0.89,0,0,1,1.43,1c-1.76,2.41-1.36,3.43-1.35,3.44a0.86,0.86,0,0,1-.29,1.19A0.84,0.84,0,0,1,329.95,475.23Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M346.92,465.72a6.44,6.44,0,1,1,6.44-6.44A6.45,6.45,0,0,1,346.92,465.72Zm0-11.12a4.67,4.67,0,1,0,4.67,4.67A4.68,4.68,0,0,0,346.92,454.61Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M346.92,462.32a3,3,0,1,1,3-3A3,3,0,0,1,346.92,462.32Zm0-4.31a1.27,1.27,0,1,0,1.27,1.27A1.27,1.27,0,0,0,346.92,458Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M310.51,493a8.28,8.28,0,1,1,8.28-8.28A8.29,8.29,0,0,1,310.51,493Zm0-14.79a6.51,6.51,0,1,0,6.51,6.51A6.51,6.51,0,0,0,310.51,478.18Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M310.51,488.44a3.75,3.75,0,1,1,3.75-3.75A3.75,3.75,0,0,1,310.51,488.44Zm0-5.73a2,2,0,1,0,2,2A2,2,0,0,0,310.51,482.71Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M354.3,473a2.52,2.52,0,0,0-.53-1.22,0.64,0.64,0,0,0-.33.52,3.27,3.27,0,0,0-.61-0.34,0.62,0.62,0,0,0-.13.73,2.34,2.34,0,0,0-.68-0.08,0.73,0.73,0,0,0,.24.68,19.27,19.27,0,0,0-5.05-3.13c-0.49-.18-1.17-0.61-1.66-0.16a2,2,0,0,0,1.39.62,16.7,16.7,0,0,1,5.3,3.5,1.93,1.93,0,0,0-.61-0.23c-0.17.17-.12,0.34,0.08,0.52a1,1,0,0,0-.68.13,1.13,1.13,0,0,0,.3.43c0.07,0.17-.43.11-0.38,0.35a1.44,1.44,0,0,0,.61.33c-1,.29-2.19.11-3,0.79a0.61,0.61,0,0,0,.56.38,5.1,5.1,0,0,0-.44.71,1,1,0,0,0,.88.18,1,1,0,0,0-.18.67,0.9,0.9,0,0,0,1-.33c-0.07.51-.76,1-0.62,1.49a0.69,0.69,0,0,0,.79-0.13,1.87,1.87,0,0,0,.18.94,1.18,1.18,0,0,0,.75-0.5c0.18,0,.11.63,0.5,0.65,1-1.39.31-2.84,1.28-4.23a5.56,5.56,0,0,1,.17,3c-0.3,1.16-1.35,2.45-.74,3.31a1.46,1.46,0,0,0,.91-0.85,2,2,0,0,0,.84,1.33,2.18,2.18,0,0,0,.72-1.27,1.69,1.69,0,0,0,.86.81c0.07-.08.15-0.15,0.21-0.1a2.46,2.46,0,0,0,0-1.77c0.56,0.42,1,1.71,1.86,2a1.07,1.07,0,0,0,.26-1.35c0.52,0.07,1,.56,1.55.36,0.35-.51-0.09-1-0.37-1.57a1.7,1.7,0,0,0,1.31-.12c0-.06,0-0.1.05-0.16-0.22-.76-1.21-1.25-1.76-1.67,0.23-.22.89,0.38,1.31-0.22a1.18,1.18,0,0,0-.65-0.9c0.2-.25.84-0.12,1.22-0.64,0-.57-0.79-0.77-1.17-0.93,0.14-.23,1-0.55.76-1-0.9-.43-1.86.43-2.81,0.63a4.77,4.77,0,0,1-2.88-.35c1.15-.8,3.22.12,4.2-1.11a1.26,1.26,0,0,0-.56-0.28c0-.24.56-0.47,0.55-0.71a0.86,0.86,0,0,0-.93-0.24c0-.3.47-0.58,0.18-0.88a3.31,3.31,0,0,0-1.48.58,2.18,2.18,0,0,0,.4-1,0.48,0.48,0,0,0-.68.13,2.19,2.19,0,0,0-.18-0.94,1.89,1.89,0,0,0-.69.45c-0.18,0-.05-0.59-0.45-0.59C354.56,470.91,354.61,472.1,354.3,473Z" transform="translate(-275.84 -414.45)"/><path class="cls-2" d="M319.14,440.31a1.11,1.11,0,0,1,.71.12c-1.49-1.43-2.9-2.89-3.25-4.82a2.16,2.16,0,0,0,.81.24A4.76,4.76,0,0,1,316,433c0.26,0,.68.21,1.1,0.28a6.72,6.72,0,0,1-.4-5.74c1.83-.19,4.2,1.29,5.06,2.5a1.23,1.23,0,0,0,.32-1c1.07,0.33,1.44,1.43,1.94,2.19,0.11-.26.2-0.52,0.31-0.78a9.47,9.47,0,0,1,2.35,3.86,1.23,1.23,0,0,0,.28-0.72,7.5,7.5,0,0,1-.32,8.56,20.57,20.57,0,0,1-3.36-4,12,12,0,0,0,2.61,4.34C323.92,443.24,320.6,442,319.14,440.31Z" transform="translate(-275.84 -414.45)"/></svg>
	%sup up
	
.sub
	%span Su
	%span.woofer 
		<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><g><g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"><path d="M1618.3,4992.6c-518.9-99.6-972.6-409.7-1246.4-853.9C-11,3516.4,21.5,2689.3,450.4,2113l47.9-63.2l-74.7-189.5C222.5,1349,100,690.4,100,117.9c0-574.4,120.6-1229.2,321.7-1740.4l74.7-189.6l-76.6-111c-107.2-158.9-214.4-392.5-264.2-582.1c-57.4-210.6-63.2-643.3-11.5-850.1c170.4-681.6,668.2-1189,1351.7-1374.7c218.3-61.3,656.7-59.3,882.7,1.9c191.5,51.7,423.1,157,582,264.2l114.9,78.5l82.3-36.4c143.6-61.3,605-203,790.7-243.2c382.9-82.3,624.2-107.2,1062.6-107.2c335.1,1.9,476.8,9.6,695,44.1c386.8,59.3,773.5,164.6,1123.9,304.4l97.6,38.3l113-76.6c160.8-109.1,392.5-214.4,584-266.1c225.9-61.3,664.4-63.2,882.6-1.9c725.7,197.2,1242.6,758.2,1369,1485.8c80.4,457.6-45.9,995.6-323.6,1367l-46,61.3l84.3,224c206.8,539.9,302.5,1081.8,302.5,1709.8c0,628-95.7,1169.8-302.5,1709.8l-84.3,224l46,61.3c277.6,371.4,404,909.5,323.6,1367c-126.3,727.6-643.3,1288.5-1369,1485.8c-218.2,61.3-656.7,59.3-882.6-1.9c-189.6-49.8-423.1-157-580.1-264.2l-113-76.6l-174.2,67c-465.3,176.2-930.5,275.7-1439.8,314c-670.1,47.9-1407.3-63.2-2060.2-310.2l-185.7-70.8l-111.1,76.6c-160.8,109.1-394.4,214.4-582,262.3C2173.5,5015.5,1815.5,5029,1618.3,4992.6z M2121.9,3763.4c130.2-44,231.7-116.8,300.6-216.4c90-134,224-270,304.4-310.2c139.8-70.8,231.7-53.6,539.9,107.2c423.1,220.2,741,329.3,1189,404c262.3,45.9,829,45.9,1091.3,0c402.1-67,840.5-208.7,1116.2-358c360-195.3,354.2-193.4,434.6-183.8c157,17.2,252.7,86.2,517,379.1c135.9,149.3,247,199.1,440.4,199.1c191.5-1.9,310.2-49.8,436.5-178.1c130.2-132.1,176.2-247,176.2-434.6c-1.9-122.5-9.6-172.3-46-245.1c-47.9-95.7-72.8-124.5-302.5-342.7c-243.2-229.8-291-409.7-160.8-605c241.2-363.8,440.4-963.1,497.8-1501.1c76.6-700.8-90-1516.4-436.5-2121.4c-51.7-90-103.4-195.3-116.8-235.5c-55.5-174.2,32.5-350.4,269.9-534.2c82.3-63.2,170.4-147.4,197.2-187.6c258.5-390.6,1.9-909.5-469.1-951.6c-199.1-19.2-417.4,84.2-524.6,245.1c-82.3,126.4-220.2,266.1-304.4,308.3c-88.1,45.9-252.7,42.1-346.5-7.7c-30.6-15.3-157-82.3-277.6-145.5c-515-271.9-1213.9-428.9-1790.2-398.2c-534.2,26.8-1120.1,180-1518.3,396.3c-371.4,201-352.3,193.4-451.9,181.9c-128.3-13.4-256.6-101.5-419.3-287.2c-157-180-218.3-225.9-356.1-271.9c-199.1-65.1-442.3,0-601.2,160.8c-130.2,132.1-176.1,247-176.1,434.6c1.9,216.3,45.9,296.8,283.4,526.5c233.6,224,291,314,291,461.4c0,88.1-11.5,122.5-63.2,201c-247,377.2-442.3,968.8-503.6,1529.8c-72.8,683.5,113,1550.9,459.5,2132.9c183.8,310.2,141.7,490.2-174.2,735.2c-225.9,176.2-317.8,348.5-296.8,566.7C1365.6,3614,1760,3885.9,2121.9,3763.4z"/><path d="M4733.4,2557.2c-564.8-72.8-1070.3-317.8-1462.8-712.2c-344.6-348.5-568.7-762-674-1248.3c-49.8-227.8-49.8-729.5,0-957.3c139.8-647.1,513.1-1198.6,1055-1564.3c241.2-162.7,561-294.8,871.2-361.9c227.8-49.8,729.5-49.8,957.3,0c980.3,210.6,1715.5,945.8,1926.1,1926.1c49.8,227.9,49.8,729.5,0,957.3c-67,310.2-199.1,629.9-361.9,871.2c-107.2,158.9-147.4,206.8-325.5,388.7c-317.8,323.6-733.3,551.4-1200.5,656.7C5359.5,2549.5,4884.7,2576.3,4733.4,2557.2z M5259.9,1314.6c455.7-95.7,842.4-482.5,938.2-938.2c181.9-869.2-585.9-1637-1455.1-1455.1c-348.5,72.8-674,325.5-831,641.4c-180,367.6-180,742.9,0,1110.5C4153.3,1161.4,4714.3,1429.4,5259.9,1314.6z"/></g></g></svg></i>
	%sub woofer
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Bungee+Shade')

body
	height: 100vh
	display: flex
	flex-direction: column
	justify-content: center
	align-items: center
	font-family: 'Bungee Shade', cursive

div
	margin: 5vw 0

.soup
	span,
	sup
		display: inline-block
		vertical-align: middle
		font-size: 5vw
		font-weight: bold
	span
		width: 8vw
		line-height: 0
		position: relative
		&:after,
		&:before
			content: ''
			position: absolute
			top: 0
			left: 0
			width: 100%
			height: 100%
			border-radius: 50% 50% 50% 50%
		&:before
			background: white
			z-index: -1
		&:after
			background: black
			z-index: -2
			transform: translate(-5px, 5px)
	
.sub
	font-family: Arial
	.woofer
		position: relative
		&:after
			content: ''
			position: absolute
			left: 1px
			top: 0
			height: 80%
			width: 15%
			background: black
			z-index: -1
	svg
		width: 5vw
		position: relative
		bottom: -1px
		border-radius: 50%
		background: white
	span
		font-size: 8vw
		vertical-align: middle
		display: inline-block
	sub
		vertical-align: text-bottom
		font-size: 2vw
              
            
!

JS

              
                
              
            
!
999px

Console