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

              
                	<div id="head">
		<div>
			<p><a href="/"><img src="gfx/logo.png" alt="" /></a></p>
			<ul>
				<li><a href="#">Kontakt</a></li>
				<li><a href="#">Dermatologie</a></li>
				<li><a href="#">Orthopädie</a></li>
				<li><a href="#">Allgemeinmedizin</a></li>
				<li><a href="#">Praxis</a></li>
				<li><a href="/">Start</a></li>
			</ul>
			<p id="mobile"><a href="#my-menu"><i class="fas fa-bars fa-lg"></i></a></p>
		</div>
	</div>
	<div id="part1">
		<div id="willkommen">
			<h1>Herzlich Willkommen<br />beim ...</h1>
			<h2>Ihr medizinisches<br />Versorgungszentrum in<br >...</h2>
			<a href="#">mehr erfahren</a>
		</div>
	</div>
	<div id="part2">
		<div id="section">
			<a href="#" id="allgm">
				<h3>Allgemeinmedizin</h3>
				<p class="teaser">Hier steht ein kurzer Text als Teaser</p>
				<p class="mehr">&raquo; <span>mehr erfahren</span></p>
			</a>
			<a href="#" id="ortho">
				<h3>Orthopädie</h3>
				<p class="teaser">Hier steht ein kurzer Text als Teaser</p>
				<p class="mehr">&raquo; <span>mehr erfahren</span></p>
			</a>
			<a href="#" id="derma">
				<h3>Dermatologie</h3>
				<p class="teaser">Hier steht ein kurzer Text als Teaser</p>
				<p class="mehr">&raquo; <span>mehr erfahren</span></p>
			</a>
			<div class="clear"></div>
		</div>
	</div>
	<div id="part3">
		<div id="open">
			<h3>Unsere Sprechzeiten</h3>
			<table id="table">
				<thead>
					<tr>
						<th></th>
						<th>Allgemein<span>-<br /></span>medizin</th>
						<th>Ortho<span>-<br /></span>pädie</th>
						<th>Derma<span>-<br /></span>tologie</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="ttag">Mo<span>ntag</span></td>
						<td>08:30<br />13:00</td>
						<td>11:00<br />17:00</td>
						<td>00:00<br />00:00</td>
					</tr>
					<tr>
						<td class="ttag">Di<span>enstag</span></td>
						<td>14:00<br />18:00</td>
						<td>09:00<br />18:00</td>
						<td>00:00<br />00:00</td>
					</tr>
					<tr>
						<td class="ttag">Mi<span>ttwoch</span></td>
						<td>08:30<br />15:00</td>
						<td>10:00<br />14:00</td>
						<td>00:00<br />00:00</td>
					</tr>
					<tr>
						<td class="ttag">Do<span>nnerstag</span></td>
						<td>09:00<br />18:00</td>
						<td>09:00<br />18:00</td>
						<td>00:00<br />00:00</td>
					</tr>
					<tr>
						<td class="ttag">Fr<span>eitag</span></td>
						<td>08:30<br />13:00</td>
						<td>09:00<br />12:00</td>
						<td>00:00<br />00:00</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div id="part4">

	</div>
	<div id="maps">
		<iframe allowfullscreen src="https://umap.openstreetmap.fr/de/map/mvz-curantes_436445?scaleControl=false&miniMap=false&scrollWheelZoom=false&zoomControl=true&allowEdit=false&moreControl=false&searchControl=false&tilelayersControl=false&embedControl=false&datalayersControl=false&onLoadPanel=undefined&captionBar=false&fullscreenControl=true&locateControl=false&measureControl=false&editinosmControl=false"></iframe>
	</div>
	<div id="footer">
		<div id="inhalt">
			<h3>Inhaltsverzeichnis</h3>
			<nav id="my-menu">
				<ul>
					<li class="menu-img"><span><img src="gfx/logo.png" alt="" /></span></li>
					<li><a href="/">Start</a></li>
					<li><a href="#">Praxis</a>
					<li><a href="#">Allgemeinmedizin</a></li>
					<li><a href="#">Orthopädie</a></li>
					<li><a href="#">Dermatologie</a></li>
					<li><a href="#">Datenschutz</a></li>
					<li><a href="#">Impressum</a></li>
				</ul>
			</nav>
			<p>Copyright &copy; </p>
		</div>
	</div>
              
            
!

CSS

              
                html {
	height: 100%; }

body {
	margin: 0;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica", sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	background: #9CC579 url(gfx/bg3.jpg) bottom center no-repeat fixed;
	background-size: 100% auto;
	color: #747474; }

body * {
	text-shadow: none;
	-webkit-text-size-adjust: none; 
	-moz-box-sizing: border-box;
	box-sizing: border-box; }

a, a:link, a:active, a:visited {
	color: inherit;
	text-decoration: underline; }

a:hover {
	color: inherit;
	text-decoration: none; }

p, h1, h2, h3 {
	margin: 1em 0;
	padding: 0 }

h1 {
	line-height: 1.5em;
	font-size: 3em;
	font-weight: normal;
	color: #000000;
	letter-spacing: 0.1em; }

h2 {
	line-height: 1.5em;
	font-size: 2em;
	font-weight: normal;
	color: #9CC579;
	letter-spacing: 0.1em; }

h3 {
	line-height: 1.5em;
	font-size: 1.25em;
	font-weight: bold;
	color: #000000;
	text-transform: uppercase; }

.clear {
	clear: both;
	float: none !important; }

.center {
	text-align: center; }

.right {
	text-align: right; }

.bold {
	font-weight: bold; }


/* # # # # # # # # # # HEAD # # # # # # # # # # */


#head {
	position: fixed;
	top: 0;
	padding: 15px 0;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: transparent;
	transition: all 0.25s linear; }

#head div {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px; }

@media screen and (max-width: 1019px) { #head div {
	padding: 0 1em; } }

#head p, #head ul {
	margin: 0;
	padding: 0;
	float: left;
	height: 55px;
	line-height: 55px; }

#head p {
	width: 25%; }

#head ul {
	display: inline-block;
	width: 75%;
	list-style-type: none;
	color: #000000;
	text-transform: uppercase; }

@media screen and (max-width: 1019px) { #head ul {
	display: none; } }

#head li {
	float: right;
	margin-right: 1.5em; }

#head li:first-child {
	margin-right: 0; }

#head li a {
	display: block;
	text-decoration: none; }

#head li a:hover, a.active {
	color: #9CC579;
	border-bottom: 1px solid #9CC579; }

#mobile {
	width: 75% !important;
	text-align: right; }

#mobile i {
	padding: 0.5em;
	background: #FFFFFF; }

@media screen and (min-width: 1020px) { #mobile {
	display: none; } }


/* # # # # # # # # # # PART1 # # # # # # # # # # */


#part1 {
	display: -webkit-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;  
	-webkit-align-items: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	width: 100%;
	align-items: center;
	border-bottom: 2px solid #FFFFFF;
	background: #FFFFFF url(gfx/bg1.jpg) top right no-repeat;
	background-size: contain; }

@media screen and (max-width: 1919px) { #part1 {
	background-size: cover; } }

#willkommen {
	margin: 0 auto;
	padding: 10em 0 8em 0;
	width: 1000px;
	max-width: 100%; }

@media screen and (max-width: 1019px) { #willkommen {
	padding: 8em 1em 6em 1em;
	background-image: linear-gradient(to right, #FFFFFF, transparent); } }

@media screen and (max-width: 1019px) { #willkommen h1 {
	font-size: 2em; } }

@media screen and (max-width: 1019px) { #willkommen h2 {
	font-size: 1.5em;
	text-shadow: 0 0 8px #FFFFFF; } }

#willkommen a {
	display: inline-block;
	margin-top: 2em;
	padding: 1em;
	background: #9CC579;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF; }

#willkommen a:hover {
	background: rgb(156,197,121,0.75); }


/* # # # # # # # # # # PART2 # # # # # # # # # # */


#part2 {
	width: 100%;
	border-bottom: 2px solid #FFFFFF;
	background: #F4F4F4; }

#section {
	margin: 0 auto;
	padding: 2em 0;
	width: 1000px;
	max-width: 100%; }

@media screen and (max-width: 1019px) { #section {
	padding: 1em; } }

#section a {
	display: block;
	float: left;
	text-decoration: none; }

@media screen and (max-width: 1019px) { #section a {
	float: none;
	padding: 0;
	width: 100%; } }

#allgm {
	padding: 0 4% 0 0 ;
	width: 32%; }

#ortho {
	padding: 0 4%;
	width: 36%;
	border-left: 1px solid #DEDEDE;
	border-right: 1px solid #DEDEDE; }

@media screen and (max-width: 1019px) { #ortho {
	border-left: 0;
	border-right: 0;
	border-top: 1px solid #DEDEDE;
	border-bottom: 1px solid #DEDEDE; } }

#derma {
	padding: 0 0 0 4%;
	width: 32%; }

.teaser {
	font-size: 1.2em; }

.mehr {
	text-transform: uppercase;
	color: #9CC579; }

#section a:hover .mehr span {
	text-decoration: underline; }


/* # # # # # # # # # # PART3 # # # # # # # # # # */


#part3 {
	display: -webkit-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;  
	-webkit-align-items: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	width: 100%;
	align-items: center;
	border-bottom: 2px solid #FFFFFF;
	background: #FFFFFF url(gfx/bg2.jpg) top left no-repeat;
	background-size: contain; }

@media screen and (max-width: 1919px) { #part3 {
	background-position: -200px;
	background-size: cover; } }

#open {
	margin: 0 auto;
	padding: 6em 0 7em 400px;
	width: 1000px;
	max-width: 100%; }

@media screen and (max-width: 1019px) { #open {
	padding: 3em 1em 4em 200px;
	background-image: linear-gradient(to left, #FFFFFF, transparent); } }

@media screen and (max-width: 719px) { #open {
	padding: 3em 1em 4em 100px; } }

@media screen and (max-width: 569px) { #open {
	padding: 3em 1em 4em 1em; } }

#table {
	width: 100%;
	border: 0;
	border-spacing: 0;
	font-size: 1.2em;
	text-align: center; }

#table th, .ttag {
	padding: 1em 0;
	font-weight: bold;
	color: #000000; }

@media screen and (min-width: 870px) { #table th span {
	display: none; } }

#table tbody tr:nth-child(odd) {
	color: #FFFFFF;
	background: #9CC579; }

#table td {
	padding: 1em 0; }

@media screen and (max-width: 1019px) { #table tbody tr:nth-child(even) td:nth-last-child(n) {
	text-shadow: 0 0 8px #FFFFFF; } }

@media screen and (max-width: 1019px) { #table tbody tr:nth-child(even) td:first-child {
	text-shadow: none !important; } }

@media screen and (max-width: 669px) { #table td span {
	display: none; } }

.ttag {
	padding-left: 1em !important;
	text-align: left; }


/* # # # # # # # # # # PART4 # # # # # # # # # # */


#part4 {
	width: 100%;
	height: 700px;
	max-height: 100%;
	border-bottom: 2px solid #FFFFFF; }


/* # # # # # # # # # # MAPS # # # # # # # # # # */


#maps {
	width: 100%;
	height: 500px;
	border-bottom: 2px solid #FFFFFF; }

@media screen and (max-width: 1019px) { #maps {
	height: 300px; } }

#maps iframe {
	width: 100%;
	height: 100%;
	border: 0; }

#footer {
	padding: 1em 0;
	width: 100%;
	color: #FFFFFF;
	background: #464646; }

#inhalt {
	margin: 0 auto;
	width: 1000px;
	max-width: 100%; }

#footer h3 {
	color: #FFFFFF; }

@media screen and (max-width: 1019px) { #footer h3 {
	display: none; } }

.mm-spn.mm-spn--light {
	background: #FFFFFF !important; }

.mm-spn li:after {
	opacity: 1 !important;
	border-top: 1px solid #DEDEDE !important; }

.mm-spn li:first-child:after, .mm-spn li:last-child:after {
	border: 0 !important; }

.mm-ocd--open {
	background: rgba(0, 0, 0, 0.5) !important; }

.mm-spn.mm-spn--navbar ul {
	top: 0 !important;
	padding-top: 1em; }

.menu-img::before {
	display: none !important; }

.menu-img img {
	max-width: 85%; }

@media screen and (min-width: 1020px) { .menu-img {
	display: none; } }
              
            
!

JS

              
                
              
            
!
999px

Console