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

              
                <div class="containerdiv container">
	<a class="link" href="https://twitter.com/">
		<svg class="link__svg" aria-hidden="true" width="61" height="50" viewBox="0 0 61 50" xmlns="http://www.w3.org/2000/svg">
			<path d="M19.1833 49.882C42.2022 49.882 54.7927 30.7347 54.7927 14.1302C54.7927 13.5864 54.7927 13.045 54.7561 12.506C57.2054 10.7272 59.3197 8.52485 61 6.00192C58.7158 7.01802 56.2928 7.68441 53.8118 7.97884C56.4243 6.40835 58.3796 3.93852 59.3139 1.02884C56.8572 2.4924 54.1695 3.5239 51.3669 4.07884C50.1954 2.82858 48.7815 1.83222 47.2121 1.15107C45.6428 0.469915 43.9513 0.118372 42.2415 0.118073C35.3693 0.118073 29.7145 5.79558 29.7145 12.6951C29.7145 13.6523 29.8234 14.6065 30.0388 15.5388C19.9812 15.0327 10.5974 10.2564 4.24558 2.41054C0.942521 8.11939 2.65159 15.5177 8.12027 19.184C6.12861 19.1247 4.18038 18.5853 2.44 17.6113V17.7705C2.44167 23.7291 6.66318 28.9081 12.4806 30.0879C10.6381 30.5923 8.70493 30.6661 6.82962 30.3035C8.46506 35.4093 13.1811 38.9288 18.5221 39.0296C14.0902 42.526 8.61571 44.4243 2.97923 44.419C1.98348 44.4171 0.98869 44.3566 0 44.2377C5.72344 47.9251 12.3828 49.8811 19.1833 49.8721"/>
		</svg>
		<span>Twitter</span>		
	</a>
</div>

              
            
!

CSS

              
                /* Стили для ссылки */
.link {
	display: inline-flex;
	align-items: center;
	
	color: indigo;
	text-decoration: none;
}

.link:hover {
	color: purple;
}

.link:focus {
	color: midnightblue;
}

/* SVG */
.link__svg {
	fill: currentColor;
}

/* Дополнительные необязательные стили */
.container {
	padding-top: 40px;
	text-align: center;
}

              
            
!

JS

              
                
              
            
!
999px

Console