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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


		<title>Responzivní layout</title>
		<meta charset="utf-8"/>
		<!-- Zajištění měřítka zobrazení 1:1 v mobilním prohlížeči -->
		<meta name="viewport" content="width=device-width,initial-scale=1">
						<a href="#">První odkaz</a></li>
						<a href="#">Druhý odkaz</a></li>
						<a href="#">Třetí odkaz</a></li>
						<a href="#">Čtvrtý odkaz</a></li>


                			/*reset okrajů + změna box-modelu na okrajový*/
			* {
			  padding: 0;
			  margin: 0;
			  box-sizing: border-box;
			  -moz-box-sizing: border-box;
			  -webkit-box-sizing: border-box;
			/*Výchozí pravidla - pro zobrazení na  mobilním zařízení*/
			body {
			  background-color: #e2e2e2
			main {
			  margin: 1em auto;
			  width: 90%;
			  background-color: #7d7d7d
			header {
			  width: 100%;
			  height: 3em;
			  text-align: center;
			  color: white;
			  background-color: #565656
			nav {
			  text-align: center;
			  background-color: #909090;
			  padding: 0.4em;
			  position: relative;
			nav ul {
			  list-style-type: none;
			nav p {
			  position: absolute;
			  top: 0;
			  left: 0;
			nav a {
			  padding: 0.3em;
			  margin: 0.2em;
			section {
			  min-height: 20em;
			  background-color: #cfcfcf;
			article {
			  min-height: 20em;
			  background-color: white;
			aside {
			  display: none;
			/* Break point - aplikace pravidel při šířce 50em (cca 720px) a větší */
			@media (min-width: 50em) {
			  main {
			    margin: 3em auto;
			  nav li {
			    display: inline;
			    padding-right: 5em;
			  nav a {
			    display: inline-block;
			  article {
			    width: 70%;
			    float: left;
			  aside {
			    width: 30%;
			    float: right;
			    display: block;
			  footer {
			    clear: both;