Pen Settings



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


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.


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 GOES HERE  -->
<h2>Buttons UI Kit</h2>
<h3>Weekly Coding Challenge #6</h3>

	<button class="btn btn-primary">Default</button>
	<button class="btn btn-primary btn-hover">Hover</button>
	<button class="btn btn-primary" disabled>Disabled</button>
	<button class="btn btn-primary btn-large">Large</button>
	<button class="btn btn-primary btn-small">Small</button>
	<button class="btn btn-secondary">Default</button>
	<button class="btn btn-secondary btn-hover">Hover</button>
	<button class="btn btn-secondary" disabled>Disabled</button>
	<button class="btn btn-secondary btn-large">Large</button>
	<button class="btn btn-secondary btn-small">Small</button>
	<button class="btn btn-tertiary">Default</button>
	<button class="btn btn-tertiary btn-hover">Hover</button>
	<button class="btn btn-tertiary" disabled>Disabled</button>
	<button class="btn btn-tertiary btn-large">Large</button>
	<button class="btn btn-tertiary btn-small">Small</button>

		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>
		- Inspired by
		<a target="_blank" href="">ildiesign</a>


                @import url('');

* {
	box-sizing: border-box;

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

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

h2 {
	position: absolute;
	top: 0;

h3 {
	position: absolute;
	top: 40px;

h4 {
	margin: 10px 0;

.container {
	margin-top: -50px;

:root {
	--primary-color: #3457dc; 
	--secondary-color: #ea4d67; 
	--tertiary-color: #ea674d;

.btn {
	border-radius: 2px;
	border: 1px solid;
	color: #FFFFFF;
	cursor: pointer;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	padding: 8px 24px;
	opacity: 1;

.btn-hover, .btn:hover {
	opacity: 0.9;

.btn:disabled {
	background-color: transparent;
	cursor: not-allowed;
	opacity: 0.7;

.btn:active {
	opacity: 1;

.btn:focus {
	outline: 0;

.btn-primary {
	border-color: var(--primary-color);
	background-color: var(--primary-color);

.btn-primary:disabled {
	color: var(--primary-color);

.btn-primary:focus {
	box-shadow: 0 0 5px var(--primary-color);

.btn-secondary {
	border-color: var(--secondary-color);
	background-color: var(--secondary-color);

.btn-secondary:disabled {
	color: var(--secondary-color);

.btn-secondary:focus {
	box-shadow: 0 0 5px var(--secondary-color);

.btn-tertiary {
	border-color: var(--tertiary-color);
	background-color: var(--tertiary-color);

.btn-tertiary:disabled {
	color: var(--tertiary-color);

.btn-tertiary:focus {
	box-shadow: 0 0 5px var(--tertiary-color);

.btn-large {
	font-size: 16px;
	padding: 12px 36px;

.btn-small {
	font-size: 12px;
	padding: 4px 12px;

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;