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

              
                <!-- Inspired by Dribbble design: https://dribbble.com/shots/5265127-Pricing-Screen-For-Tookan -->

<div class="wrapper">
	<section class="header">
		<h1 class="title">Simple pricing that works at any scale</h1>
		<p class="subtitle">Simple, transparent pricing for everyone, whether you're a local restaurant or a multinational logistics company.
		</p>
	</section>
	
	<section class="pricing">
		<article class="plan startup">
			<div class="plan__title">
				<h3>Startup Plan</h3>
			</div>
			<div class="plan__fee">
				<span class="dollar">$</span>
				<span class="amount">69</span>
				<span class="duration">/mo</span>
			</div>
			<div class="plan__features">
				<ul>
					<li>
						Billed annually
					</li>
					<li>Fixed pricing</li>
					<li>50 agents</li>
					<li>1000 tasks</li>
					<li>Branded agent app and dashboard</li>
					<li>Free Third party integration</li>
				</ul>
			</div>
			<button class="btn">Try it for free</button>
		</article>
		
		<article class="plan agent">
			<div class="plan__title">
				<h3>Pro Agent</h3>
				<h5>Usage Based</h5>
			</div>
			<div class="plan__fee">
				<span class="dollar">$</span>
				<span class="amount">10</span>
				<span class="duration">/agent</span>
			</div>
			<div class="plan__features">
				<ul>
					<li>Billed monthly</li>
					<li>Usage based</li>
					<li class="emphasis">Unlimited agents</li>
					<li>Pay for every task created</li>
				</ul>
			</div>
			<button class="btn">Try it for free</button>
		</article>
		
		<article class="plan task task-title">
			<div class="plan__title">
				<h3>Pro Task</h3>
				<h5>Usage Based</h5>
			</div>
			<div class="plan__fee task-amount">
				<span class="dollar">$</span>
				<span class="amount">0.1</span>
				<span class="duration">/task</span>
			</div>
			<div class="plan__features">
				<ul>
					<li>Billed monthly</li>
					<li>Usage based</li>
					<li class="emphasis">Unlimited tasks</li>
					<li>Pay for every agent added</li>
				</ul>
			</div>
			<button class="btn">Try it for free</button>
		</article>
		
		<article class="plan enterprise">
			<div class="plan__title">
				<h3>Enterprise</h3>
				<h5>Flex Pricing</h5>
			</div>
			<div class="plan__fee">
				<span class="amount">Custom Pricing</span>
			</div>
			<div class="plan__features">
				<ul>
					<li>For more than 25k transactions</li>
					<li>Get low pricing</li>
					<li>Tookan white labelled forms</li>
					<li>Advanced Route Optimization</li>
					<li>Broadcast Feature</li>
					<li>Branded agent app and dashboard</li>
					<li>Custom 3rd party integration</li>
				</ul>
			</div>
			<button class="btn">Contact us</button>
		</article>
	</section>
	<section class="fineprint">
		<p>The above pricing is valid for Pre-paid Subscription Plans only. </p>
	</section>
</div>
              
            
!

CSS

              
                $white: #fff;
$grid-span: 2 /span 8;
$background-main: linear-gradient(135deg, rgba(17,210,247,1) 0%,rgba(5,147,238,1) 50%,rgba(92,91,239,1) 85%,rgba(20,43,222,1) 100%);
$color-task: #2d9ff8;
$color-check: #60d8a3;
$bp-large: 1055px;

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Josefin Sans', sans-serif;
	box-sizing: border-box;
	background: $background-main no-repeat center center fixed;
}

.wrapper {
	min-height: 100%;
	display: grid;
	grid-template-columns: 3rem repeat(8, 1fr) 3rem;
	grid-template-rows: 2fr 4fr 1fr;
	@media screen and (max-width: 1055px) {
			grid-template-rows: 10rem 2fr 1fr;
	}
}

.header {
	grid-column: $grid-span;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: $white;
		h1 {
		margin: 0;
	}
	@media screen and (max-width: $bp-large) {
		margin-bottom: 2rem;
	}
}

.pricing {
	grid-column: $grid-span;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	grid-template-rows: max-content;
	@media screen and (max-width: 1055px) {
		grid-gap: 2rem;
	}
}

.plan {
	background: url(https://www.toptal.com/designers/subtlepatterns/patterns/worn_dots.png);
	padding: 1rem 0;
	box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 0.1);
	&__title {
		margin: 0;
		text-align: center;
		h3, h5 {
			margin: 0.5rem;
		}
	}
	&__fee {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 2rem 0 1rem 0;
		.dollar {
			font-size: 1.3rem;
			font-weight: 500;
		}
		.amount {
			font-size: 3rem;
			text-align: center;
		}
		.duration {
			font-size: 1.3rem;
			font-weight: 300;
		}
	}
	&__features {
		ul {
			list-style-type: none;
			margin: 0;
			padding-left: 2rem;
			li {
				padding: 0.4rem;
				font-size: small;
				position: relative;
				&:last-child {
					padding-bottom: 1.5rem;
				}
				&::before {
					position: absolute;
					content: "\f058";
					font-family: FontAwesome;
					padding: 0 3px 3px;
					width: .6rem;
					height: .6rem;
					left: -1rem;
					color: $color-check;
				}
			}
		}
	}
}

.emphasis {
	font-weight: bold;
}
	
.btn {
	padding: 0.7rem;
	margin: 0 auto;
	background-color: $white;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.8rem;
	border: 1px solid #000;
	display: block;
	border-radius: 5px;
	cursor: pointer;
}

.agent {
	.plan__fee {
		padding: 0.7rem 0;
	}
	.btn {
		margin-top: 3.3rem;
	}
}

.task {
	position: relative;
	&::before {
		content: "recommended";
		position: absolute;
		text-transform: uppercase;
		top: -0.8rem;
		left: 50%;
		margin-left: -3.5rem;
		background: #e99084;
		font-size: 0.8rem;
		color: $white;
		padding: 0.5rem;
		border-radius: 2px;
	}
	.btn {
		margin-top: 3.3rem;
		background: $color-task;
		color: $white;
		border: 1px solid $color-task;
		@media screen and (max-width: $bp-large) {
			margin-top: 1.5rem;
		}
	}
	@media screen and (min-width: 1056px) {
		margin: -1.5rem 0;
		border: 2px solid #085FE7;
	}
}

.task-title {
	padding-top: 2rem;
}

.task-amount {
	padding-top: 1rem;
}

.enterprise {
	background: linear-gradient(135deg, rgba(19,202,244,1) 0%,rgba(44,164,244,1) 57%,rgba(62,159,226,1) 100%);
	color: $white;
	margin-top: -.8rem;
	.plan__title {
		margin-top: -0.5rem;
	}
	.plan__fee {
		padding: 0.5rem 0;
	}
	.amount {
		font-size: 1.8rem;
		font-weight: 700;
		padding: 0 2rem;
	}
	.btn {
		border: 1px solid $white;
		@media screen and (min-width: 1182px) {
			margin-top: 1rem;
		}
	}
}

.fineprint {
	grid-column: $grid-span;
	grid-row: 3;
	color: $white;
	font-size: 0.8rem;
	@media screen and (max-width: $bp-large) {
		margin-top: 2rem;
		margin-bottom: 3rem;
	}
}
              
            
!

JS

              
                
              
            
!
999px

Console