Pen Settings



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


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


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.


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.


                <h2>Weekly Coding Challenge #18 - Social Media Buttons</h2>

<ul class="social-media-container">
	<li class="social-media blog">
		<i class="fas fa-laptop-code"></i>
		<a href="" target="_blank">Check out my blog</a>
	<li class="social-media twitter">
		<i class="fab fa-twitter"></i>
		<a href="" target="_blank">Follow me on Twitter</a>
	<li class="social-media linkedin">
		<i class="fab fa-linkedin-in"></i>
		<a href="" target="_blank">Connect on Linkedin</a>
	<li class="social-media facebook">
		<i class="fab fa-facebook-f"></i>
		<a href="" target="_blank">Like my Facebook page</a>
	<li class="social-media github">
		<i class="fab fa-github"></i>
		<a href="" target="_blank">See projects on Github</a>

		Created with <i class="fa fa-heart"></i> by
		<a target="_blank" href="">Florin Pop</a>
		- Read how I created this and how you can join the challenge
		<a target="_blank" href="">here</a>


                @import url('');

* {
	box-sizing: border-box;

body {
	background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	min-height: 100vh;
	font-family: 'Lato', sans-serif;
	margin: 0;

h2 {
	text-align: center;

.social-media-container {
	position: fixed;
	top: 50%;
	left: calc(100% - 60px);
	list-style-type: none;
	padding: 0;
	transform: translateY(-50%);
	min-width: 250px;

.social-media {
	align-items: center;
	display: flex;
	transition: transform .3s ease-in-out;

.social-media:hover {
	transform: translateX(calc(-100% + 60px));
} {
	background-color: #e17b77;

.social-media.facebook {
	background-color: #3b5998;

.social-media.twitter {
	background-color: #00aced;

.social-media.github {
	background-color: #333;

.social-media.linkedin {
	background-color: #007bb6;

.social-media i {
	color: #fff;
	font-size: 20px;
	padding: 15px;
	text-align: center;
	width: 60px;

.social-media a {
	color: #fff;
	padding: 0 10px;

footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;

footer p {
    margin: 10px 0;

footer i {
    color: red;

footer a {
    color: #3c97bf;
    text-decoration: none;