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

              
                <!-- powered by YEK (https://github.com/yek-org) -->
<!--  Instagram : @mikoloism   -->
<!--  Codepen 	: @miko-github -->
<div class="yek-social">
	<ul class="yek-social__list">
		<li class="yek-social__item">
			<a class="yek-social__link" href="#">
				<span class="yek-social__button yek-social__button--youtube">
					<i class="yek-social__icon fab fa-youtube"></i>
				</span>
			</a>
		</li>
		<li class="yek-social__item">
			<a class="yek-social__link" href="#">
				<span class="yek-social__button yek-social__button--twitter">
					<i class="yek-social__icon fab fa-twitter"></i>
				</span>
			</a>
		</li>
		<li class="yek-social__item">
			<a class="yek-social__link" href="#">
				<span class="yek-social__button yek-social__button--telegram">
					<i class="yek-social__icon fab fa-telegram"></i>
				</span>
			</a>
		</li>
		<li class="yek-social__item">
			<a class="yek-social__link" href="#">
				<span class="yek-social__button yek-social__button--instagram">
					<i class="yek-social__icon fab fa-instagram"></i>
				</span>
			</a>
		</li>
	</ul>
</div>

<a href="https://github.com/miko-githu" class="follow-me">
	<span class="mute">follow</span>
	<span class="link"> @mikoloism </span>
	<span class="mute">for more</span>
</a>
              
            
!

CSS

              
                /* YEK (https://github.com/yek-org)
-------------------------------------- */
$yek-light: #fff;
$yek-gray--100: #f9f9f9;
$yek-gray--400: #f4f4f4;
$yek-gray--800: #444;
$yek-blue--600: #69c;
@function _yek-btn--size($s: "md") {
	$_s: map-get(
		(
			small: 42px,
			sm: 42px,
			medium: 60px,
			md: 60px,
			larg: 72px,
			lg: 72px
		),
		$s
	);
	@return $_s;
}

/* variables
---------------------------- */
$COLOR_YOUTUBE: #c4302b;
$COLOR_TWITTER: #00acee;
$COLOR_TELEGRAM: #0088cc;
$COLOR_INSTAGRAM: #c13584;

// color
$body-bg: #888;

/* 3D-BOX ($bx-)
------------------------- */
$bx-color--side: #b1b1b1;
$bx-shadow: -20px 20px 5px rgba($yek-gray--800, 0.5);
$bx-skew--before: skewY(-45deg);
$bx-skew--after: skewX(-45deg);
$bx-rotate--side: rotate(0deg);
$bx-skew--target: skew(25deg);
$bx-rotate--target: rotate(-25deg);
$bx-transform--before: $bx-rotate--side $bx-skew--before;
$bx-transform--after: $bx-rotate--side $bx-skew--after;
$bx-transform--target: perspective(1000px) $bx-rotate--target $bx-skew--target;
$bx-transform-target--hover: $bx-transform--target translate(20px, -20px);

// MIXIN
@mixin yek-button($s: "md", $t: 144px) {
	$_size: _yek-btn--size($s);
	@include yek-size($t, $_size);
}
@mixin yek-fab($s: "lg", $r: 1) {
	$_size: _yek-btn--size($s) * $r;
	@include yek-size($_size, $_size);
}
@mixin bx-variant($e, $c) {
	&--#{$e} {
		background-color: $c;
		box-shadow: -50px 50px 20px rgba($c, 0.5); // blur: 20px
		&::before {
			background-color: lighten($c, 7);
		}
		&::after {
			background-color: lighten($c, 14);
		}
	}
}

/* resets
---------------------------- */

body {
	@include yek-aligns;
	background-color: $body-bg;
}

a {
	color: $yek-blue--600;
	text-decoration: none;
	cursor: pointer;
}

/* stylesheets
---------------------------- */
.yek-social {
	@include yek-size(750px, 190px);

	&__list,
	&__item,
	&__link,
	&__button {
		@include yek-flex;
		@include yek-align;
	}
	&__list,
	&__link {
		@include yek-size;
	}

	&__list {
		@include yek-align(space-between);
		border-radius: 9px;
		padding: 9px;
		// background-color: $yek-gray--800;
	}

	&__item {
		@include yek-size(24%, 100%);
		border-radius: 9px;
		background-color: #888;
	}

	// link style
	&__button {
		@include yek-fab;
		background-color: #fff;
		box-shadow: $bx-shadow;
		transition: 0.5s 0.15s;
	}

	// box style
	&__button {
		position: relative;
		transform: $bx-transform--target;

		&::before,
		&::after {
			content: "";
			position: absolute;
		}

		&::before {
			@include yek-size(21px, 100%);
			top: 10px;
			left: -20px;
			background-color: darken($bx-color--side, 7);
			transition: 0.5s 0.15s;
			transform: $bx-transform--before;
		}

		&::after {
			@include yek-size(100%, $h: 21px);
			bottom: -20px;
			left: -10px;
			transition: 0.8s 0.15s;
			background-color: lighten($bx-color--side, 7);
			transform: $bx-transform--after;
		}
	}

	&__icon {
		color: $yek-gray--800;
		font-size: 1.7em;
		transition-delay: 0.2s;
	}

	/* animaitons
	------------------------- */
	&__link:hover &__icon {
		color: $yek-light;
	}

	&__link:hover &__button {
		@include bx-variant("youtube", $COLOR_YOUTUBE);
		@include bx-variant("twitter", $COLOR_TWITTER);
		@include bx-variant("telegram", $COLOR_TELEGRAM);
		@include bx-variant("instagram", $COLOR_INSTAGRAM);
		transform: $bx-transform-target--hover;
	}
}

.follow-me {
	display: inline-block;
	position: fixed;
	bottom: 14px;
	left: 14px;
	padding: 9px;
	border-radius: 9px;
	font-family: "ubuntu";
	background-color: #fff;
	.link {
		transition: 0.3s 0.2s linear;
		border-radius: 4px;
		padding: 4px;
		&:hover {
			margin: 4px;
			color: $yek-light;
			background-color: $yek-blue--600;
		}
	}
	.mute {
		color: black;
	}
}

              
            
!

JS

              
                // NO THANKS!

              
            
!
999px

Console