Skip to content

Instantly share code, notes, and snippets.

@jciechowski
Created May 13, 2019 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jciechowski/6f540a64c461228acd5897ef86f2dd96 to your computer and use it in GitHub Desktop.
Save jciechowski/6f540a64c461228acd5897ef86f2dd96 to your computer and use it in GitHub Desktop.
Webinar CodersTrust 09.05.2019 - layout bloga
<!DOCTYPE html>
<html>
<head>
<title>Nasz super blog</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
/>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" />
<meta charset="UTF-8" />
<style>
.card {
margin-top: 25px;
}
.fa-facebook-square {
color: #3b5998;
}
.fa-twitter-square {
color: #38a1f3;
}
.fa-instagram {
color: red;
}
.no-scrollbar {
overflow: hidden;
}
footer {
width: 100%;
bottom: 0;
height: 60px;
position: absolute;
line-height: 60px;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="collapse navbar-collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="#">Strona główna</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">O mnie</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Kontakt</a>
</li>
</ul>
<form class="form-inline">
<input
class="form-control mr-sm-2"
type="search"
placeholder="Search"
aria-label="Search"
/>
<button class="btn btn-outline-success">Search</button>
</form>
</div>
</nav>
<div class="no-scrollbar">
<div class="row">
<div class="col-6 offset-1">
<div class="card">
<div class="card-body">
<h5 class="card-title">First post!</h5>
<p class="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s with
the release of Letraset sheets containing Lorem Ipsum passages, and more recently
with desktop publishing software like Aldus PageMaker including versions of Lorem
Ipsum.
</p>
<p class="text-right"><a href="#" class="btn btn-primary">More...</a></p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">First post!</h5>
<p class="card-text">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s with
the release of Letraset sheets containing Lorem Ipsum passages, and more recently
with desktop publishing software like Aldus PageMaker including versions of Lorem
Ipsum.
</p>
<p class="text-right"><a href="#" class="btn btn-primary">More...</a></p>
</div>
</div>
<div style="margin-top: 20px;">
<button class="btn btn-light">Starsze</button>
<button class="btn btn-light float-right">Nowsze</button>
</div>
</div>
<div class="col-4" style="margin-top: 45px;">
<div class="float-right">
<img
src="https://ichef.bbci.co.uk/news/304/media/images/69247000/jpg/_69247083_einsteingettyafp.jpg"
style="width: 10rem;"
/>
<div class="text-center">
<span>
<a href="https://www.facebook.com" target="_blank">
<i class="fab fa-facebook-square"></i>
</a>
</span>
<span
><a href="https://www.twitter.com" target="_blank"
><i class="fab fa-twitter-square"></i></a
></span>
<span
><a href="https://www.instagram.com" target="_blank"
><i class="fab fa-instagram"></i></a
></span>
</div>
<div style="margin-top: 60px;">
<strong>Archiwum</strong>
<ul>
<li><a href="#">Kwiecień 2019</a></li>
<li><a href="#">Marzec 2019</a></li>
<li><a href="#">Luty 2019</a></li>
<li><a href="#">Styczeń 2019</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<footer class="border-top text-center bg-light">
&copy; Webinar CodersTrust 2019
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment