bootstrap自适应带菜单多屏个人简历代码
代码语言:html
所属分类:响应式
代码描述:bootstrap自适应带菜单多屏个人简历代码,包含个人介绍、技能、作品集、图片放大、菜单锚点导航滚动。
代码标签: bootstrap 自适应 菜单 多屏 个人 简历 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.3.3.4.css">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
<style>
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300,700);
html, body {
margin: 0;
padding: 0;
}
html {
background: url('//repo.bfw.wiki/bfwrepo/image/6401c1b3b7ddf.png');
background-color: #000000;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center;
height: 100%;
}
body {
background: none;
font-family: 'Oswald', sans-serif;
font-weight: lighter;
line-height: 1.5;
color: #1D2951;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Oswald', sans-serif;
font-weight: bold;
margin-top: 0;
}
p {
font-size: 16px;
margin-bottom: 1rem;
}
hr {
margin-bottom: 0.5rem;
}
a:focus {
outline: none;
}
.navbar-nav {
-webkit-backface-visibility: hidden;
}
.navbar-default {
background-color: #000000;
border-color: #000000;
}
.navbar-default .navbar-brand {
font-weight: normal;
color: #f5f5f5;
background-color: transparent;
}
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
color: #f5f5f5;
background-color: transparent;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
color: #f5f5f5;
font-size: 20px;
background-color: #5499c9;
}
.navbar-default .navbar-nav > li > a:hover {
color: #f5f5f5;
background-color: #5499c9;
}
.navbar-default .navbar-nav > li > a:focus {
color: #f5f5f5;
border: none;
outline: none;
}
.navbar-default .navbar-nav > li > a{
padding-left: 20px;
padding-right: 20px;
}
.navbar-default .navbar-toggle {
background: #000;
opacity: 0.7;
border-color: #f5f5f5;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
background: #111;
border-color: #f5f5f5;
}
.navbar-default .navbar-toggle .icon-bar {
background: #f5f5f5;
}
@media(max-width: 768px) {
.navbar-default .navbar-nav > li > a {
background: #000;
border-radius: 4px;
margin-bottom: 3px;
}
}
.container .jumbotron, .container-fluid .jumbotron {
padding-left: 0;
padding-right: 0;
color: #f5f5f5;
}
.jumbotron {
background: transparent;
min-height: 100vh;
}
.jumbotron h1{
margin-top: 220px;
font-size: 56px;
}
.jumbotron .lead{
font-size: 24px;
}
@media (max-width: 992px) {
.jumbotron h1{
font-size: 46px;
}
.jumbotron .lead{
font-size: 20px;
}
}
@media (max-width: 768px) {
.jumbotron h1{
font-size: 32px;
}
.jumbotron .lead{
font-size: 16px;
}
}
.btn-success {
background-color: #000;
color: #f5f5f5;
border-color: #f5f5f5;
}
.btn-success-custom {
opacity: 0.7;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success {
background-color: #5499c9;
opacity: 0.7;
color: #000000;
border-color: #f5f5f5;
}
.btn-success:active, .btn-success.active {
background-color: #5499c9;
opacity: 0.7;
box-shadow: none;
color: #000000;
border-color: #f5f5f5;
}
.btn-success:active:focus {
background-color: #5499c9;
opacity: 0.7;
color: #000000;
border-color: #f5f5f5;
}
.section-white {
background: #fefefe;
min-height: 100vh;
}
.section-contact {
background: url('//repo.bfw.wiki/bfwrepo/image/6401c2b7ccc8c.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center;
background-color: #fefefe;
min-height: 100vh;
color: #000000;
padding-bottom: 70px;
position: relative;
}
.section-title {
margin-top: 90px;
margin-bottom: 50px;
}
.section-title h2{
font-size: 24px;
font-weight: normal;
}
.section-title p{
font-size: 16px;
font-weight: lighter;
}
.section-padding {
padding-bottom: 20px;
}
.img-main {
padding: 0px 20px 0px 20px;
border-radius: 50%;
}
.progress-text {
font-weight: bold;
font-size: 12px;
margin: 0;
padding: 0px 0px 5px 0px;
}
.progress {
height: 10px;
}
.progress-bar {
height: 10px;
}
.progress-bar-custom {
background: rgba(84, 153, 201, 1);
}
figure {
position: relative;
max-width: 100%;
height: auto;
margin: 10px auto;
padding: 0;
background: #000;
overflow: hidden;
}
figure img {
opacity: 1;
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
}
.figure-caption {
display: none;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
padding: 20px 20px 20px 20px;
z-index: 10;
background: none;
color: #f5f5f5;
}
.figure-caption h3 {
font-size: 16px;
margin-bottom: 10px;
}
.figure-caption p {
font-size: 12px;
margin-bottom: 10px;
}
figure:hover img {
opacity: 0.2;
}
figure:hover .figure-caption {
display: block;
}
.footer {
position: absolute;
bottom: 0;
background: #000000;
width: 100%;
height: 50px;
text-align: center;
}
.footer a {
display:inline-block;
margin: 5px 3px 5px 3px;
width: 40px;
height: 40px;
border-radius: 50%;
background: #fefefe;
color: #000000;
font-size: 23px;
}
.footer a:hover {
border: none;
color: #5499c9;
}
.footer a:active {
border: none;
color: #000000;
}
.lightbox {
display: none;
position: fixed;
z-index: 100;
width: 100%;
height: 100%;
text-align: center;
top: 0;
left: 0;
background: #000000;
opacity: 0.7;
}
.open-image {
display: none;
position: fixed;
width: 100%;
height: 100%;
top: 0; left: 0; bottom: 0; right: 0;
z-index: 101;
margin: 0;
padding: 0;
cursor: pointer;
}
.table-wrapper {
height:100%;
width: 100%;
margin: 0;
padding: 0;
border: 0;
}
.table-wrapper td {
vertical-align: middle;
text-align: center;
}
</style>
</head>
<body >
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Martin Jakal</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul id="menu" class="nav navbar-nav navbar-right">
<li id="link-home" class="active"><a class="scroll-page" href="#home">Home</a></li>
<li id="link-about"><a class="scroll-page" href="#about">About</a></li>
<li id="link-portfolio"><a class="scroll-page" href="#portfolio">Portfolio</a></li>
<li id="link-contact"><a class="scroll-page" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<!-- Section jumbotron -->
<section id="home">
<div class="jumbotron">
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center">
<h1>Welcome to my portfolio</h1>
<p class="lead">One man’s crappy software is another man’s full time job.<hr></p>
<a class="btn btn-lg btn-success btn-success-custom" href="" target="_blank">visit my site</a>
</div>
</div>
</div>
</section><!-- Section jumbotron end -->
<!-- Section about start -->
<section id="about">
<div class="row section-white">
<div class="col-md-12">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="row">
<div class=.........完整代码请登录后点击上方下载按钮下载查看
网友评论0