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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <div class="container mx-auto">
	<div class="flex flex-wrap items-center justify-center">
		<article class="w-full px-2 my-2 sm:w-1/2 lg:w-1/4">
			<div class="shadow-md overflow-hidden rounded-lg bg-white hover:shadow-lg transition-all transition-250">
				<a href="!#" class="block">
					<img src="" alt="" style="max-height: 350px; max-width: 350px;" class="w-full object-cover block mx-auto">
				<a href="!#" class="block text-center capitalize text-xl mt-2">Product Title</a>
				<h3 class="font-bold text-center text-2xl mb-4">39,99 $</h3>
				<div class="flex items-center justify-center px-4 mb-2">
					<a href="!#" class="w-1/2 block text-center uppercase py-2 border-2 border-blue-700 text-blue-700 rounded mr-1 hover:text-white hover:bg-blue-700 transition-all transition-250">view </a>
					<button class="w-1/2 uppercase py-2 border-2 border-blue-700 bg-blue-700 text-white rounded ml-1 hover:text-blue-700 hover:bg-transparent transition-all transition-250">Add to cart</button>


                .transition-all {
  transition-property: all;

.transition-250 {
	transition-duration: 250ms;