Skip to content

Instantly share code, notes, and snippets.

@AitorRodriguez990
Last active March 21, 2017 08:20
Show Gist options
  • Save AitorRodriguez990/4f0b3083f9e7ba2a63f147fc44fa0aaf to your computer and use it in GitHub Desktop.
Save AitorRodriguez990/4f0b3083f9e7ba2a63f147fc44fa0aaf to your computer and use it in GitHub Desktop.
HTML Template with Bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML Template - With Bootstrap</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style>
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px;
}
.content {
padding-bottom: 40px;
}
.text-muted {
margin: 20px 0;
}
.footer {
background-color: #f5f5f5;
width: 100%;
position: absolute;
bottom: 0;
height: 60px;
}
</style>
</head>
<body>
<div class="container content">
</div>
<footer class="footer">
<div class="container">
<p class="text-muted text-right">
Aitor Rodríguez - <a href="http://www.frontendfactory.es" target="_blank">Front End Factory</a>
</p>
</div>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment