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.


                <div class="baHrad">

<div class="strechaL"></div>
<div class="vezaL">
	<div class="vezaLBokL"></div>
	<div class="vezaLBokR"></div>
<div class="podvezaL"></div>
<div class="strechaR"></div>
<div class="vezaR">
	<div class="vezaRBokL"></div>
	<div class="vezaRBokR"></div>
<div class="podvezaR"></div>
<div class="strecha"></div>
<div class="budova">
<div class="okno11"></div>
<div class="okno12"></div>
<div class="okno13"></div>
<div class="okno14"></div>
<div class="okno15"></div>
<div class="okno16"></div>
<div class="okno17"></div>
<div class="okno18"></div>
<div class="okno21"></div>
<div class="okno22"></div>
<div class="okno23"></div>
<div class="okno24"></div>
<div class="okno25"></div>
<div class="okno26"></div>
<div class="okno27"></div>
<div class="okno28"></div>
<div class="okno31"></div>
<div class="okno32"></div>
<div class="okno33"></div>
<div class="okno34"></div>
<div class="okno35"></div>
<div class="okno36"></div>
<div class="okno37"></div>
<div class="okno38"></div>




                @import compass

$w: 520px
$h: 3/4*$w

$strechaColor: red
$murColor: #efefef
$strechaOkrajColor: firebrick

$wVezaL: 0.13*$w
$hVezaL: 0.15*$h
$wPodvezaL: 0.15*$w
$hPodvezaL: 0.14*$h
$wVezaR: 0.10*$w
$hVezaR: 0.12*$h
$wPodvezaR: 0.12*$w
$hPodvezaR: $hPodvezaL
$wStrechaL: $wVezaL
$hStrechaL: 0.13*$h
$wStrechaR: $wVezaR
$hStrechaR: 0.11*$h
$hStrecha: $hPodvezaL
$wBudova: $w
$hBudova: (1*$h) - $hVezaL - $hStrechaL - $hPodvezaL
$hOknoMini: 0.04*$h
$hOknoBig: 0.06*$h
$wOkno: 0.02*$w
$oknaColumns: 8
$oknaRows: 3

@mixin bgUpDownGrad( $fromColor, $toColor)
	background: -webkit-linear-gradient( $fromColor, $toColor) /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient( $fromColor, $toColor) /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient( $fromColor, $toColor) /* For Firefox 3.6 to 15 */
	background: linear-gradient( $fromColor, $toColor) /* Standard syntax */
	width: 0px
	height: 0px
	overflow: hidden
	position: absolute
	width: $w
	height: $h
	overflow: hidden
	display: block
	position: absolute
		@extend .basic
		border-bottom: $hStrechaL solid $strechaColor
		border-left: 1/2*$wStrechaL solid transparent
		border-right: 1/2*$wStrechaL solid transparent
		left: ($wPodvezaL - $wVezaL) / 2
		top: 0
		@extend .basic
		top: $hStrechaL
		left: ($wPodvezaL - $wVezaL) / 2
		background: $murColor
		width: $wVezaL
		height: $hVezaL
			@extend .basic
			background: darken($murColor, 5%)
			width: $wVezaL/4
			height: $hVezaL
			top: 0
			left: 0
			@extend .vezaLbokL
			right: 0
			left: auto
		@extend .basic
		top: $hStrechaL+$hVezaL
		left: 0
		background: $murColor
		width: $wPodvezaL
		height: $hPodvezaL
		@extend .basic
		@include bgUpDownGrad( $strechaColor, $strechaOkrajColor)
		width: $wBudova - $wPodvezaL - $wPodvezaR
		height: $hStrecha
		top: $hStrechaL + $hVezaL
		left: $wPodvezaL
		@extend .basic
		width: $wBudova
		height: $hBudova
		top: $hVezaL + $hStrechaL + $hStrecha
		left: 0
		background: $murColor
			@extend .basic
			background: #666
			width: $wOkno
		@for $i from 1 through $oknaRows
			@for $j from 1 through $oknaColumns 
					left: ( ( $wBudova - $wVezaL - $wVezaR) / ( $oknaColumns  + 1) * $j ) + $wVezaL - ($wOkno / 2)
					top: ( $hBudova / ($oknaRows + 2) * $i )
					@if $i< 2 
						height: $hOknoMini
						height: $hOknoBig
		@extend .basic
		right: ($wPodvezaR - $wVezaR) / 2
		top: $hVezaL + $hStrechaL - $hVezaR
		width: $wVezaR
		height: $hVezaR
		background: $murColor
			@extend .basic
			background: darken($murColor, 5%)
			width: $wVezaR/4
			height: $hVezaR
			top: 0
			left: 0
			@extend .vezaRbokL
			right: 0
			left: auto
		@extend .basic
		top: $hVezaL + $hStrechaL + $hPodvezaL - $hPodvezaR
		right: 0
		background: $murColor
		width: $wPodvezaR
		height: $hPodvezaR
		@extend .basic
		right: ($wPodvezaR - $wVezaR) / 2
		top: $hVezaL + $hStrechaL - $hStrechaR - $hVezaR
		border-bottom: $hStrechaR solid $strechaColor
		border-left: 1/2*$wStrechaR solid transparent
		border-right: 1/2*$wStrechaR solid transparent