html and css3 js 公司简介左侧导航和翻页特效完美融合id1100-网页前端设计

23 篇文章 0 订阅
12 篇文章 0 订阅

html and css3 js 公司简介左侧导航和翻页特效完美融合id1100-网页前端设计
在这里插入图片描述

源码下载地址

在新演示地址

<html lang="en" class="no-js"> 
<head>
  
    <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700i" rel="stylesheet">

 
    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/jScrollPane/2.2.1/style/jquery.jscrollpane.min.css">
    <link rel="stylesheet" type="text/css" href="css/bookblock.css" />
     
    <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
    
    
    <style> 
            @import url('https://fonts.googleapis.com/css?family=Oswald&display=swap');
html { height: 100%; }

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Lato', Calibri, Arial, sans-serif;
  background: #fff;
  font-weight: 400;
  font-size: 100%;
  color: #333;
  height: 100%;
    overflow-y: hidden;
}

.js body {
  overflow: hidden;
}

a {
  color: #555;
  text-decoration: none;
  outline: none;
}

a:hover {
  color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
  width: 100%;
  height: 100%;
}

.container {
  position: relative;
  left: 0px;
  -webkit-transition: left 0.3s ease-in-out;
  -o-transition: left 0.3s ease-in-out;
  transition: left 0.3s ease-in-out;
}

.slideRight {
  left: 240px;
}

.no-js .container {
  padding-left: 240px;
}

.menu-panel {
  background: #34495e;
  width: 240px;
  height: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.js .menu-panel {
  position: absolute;
  left: -240px;
}

.menu-panel h3 {
  font-size: 1.5em;
  padding: 20px;
  font-weight: 300;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
     font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase;
    
 
} 

.menu-toc {
  list-style: none;
     
}

.menu-toc li a {
  display: block;
  color: #34495e;
  font-size: 1.1em;
  line-height: 3.5;
  padding: 0 20px;
  cursor: pointer;
  background: white;
  border-bottom: 1px solid #ebebeb;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase;
    
    
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
  background: #f4c150;
}

.menu-panel div {
  margin-top: 20px;
}

.menu-panel div a {
  text-transform: uppercase;
  font-size: 0.6em;
  line-height: 1;
  padding: 5px 20px;
  display: block;
  border: none;
  color: #bc0b0b;
  letter-spacing: 1px;
  font-weight: 800;
  text-shadow: 0 1px rgba(255,255,255,0.2);
} 

.menu-panel div a:hover {
  background: inherit;
  color: #fff;
  text-shadow: none;
}

.bb-custom-wrapper nav {
  top: 20px;
  left: 60px;
  position: absolute;
  z-index: 1000;
}

.bb-custom-wrapper nav span,
.menu-button {
  position: absolute;
  width: 42px;
  height: 42px;
  top: 0;
  left: 0;
    
  background: orange;
  border-radius: 50%;
  color: #fff;
  line-height: 42px;
  text-align: center;
  speak: none;
  font-weight: bold;
  cursor: pointer;
}

 
.bb-custom-wrapper nav span:last-child {
  left: 50px;
}

.menu-button {
  z-index: 1000;
  left: 10px;
  top: 20px;
  text-indent: -9000px;
}

.menu-button:after {
  position: absolute;
  content: '';
  width: 50%;
  height: 2px;
  background: #fff;
  top: 50%;
  margin-top: -1px;
  left: 25%;
  box-shadow: 0 -4px #fff, 0 4px #fff;
}

 

.js .content {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  bottom: 50px;
  overflow: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
  padding: 10px 5% 10px 5%;
}

 

.content h2 {
  font-weight: 300;
  font-size: 3em;
  padding: 0 0 10px;
  color: #333;
  margin: 0 8% 10px;
  text-align: left;
  box-shadow: 0 10px 0 rgba(0,0,0,0.02);
  text-shadow: 0 0 2px #fff;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase;
}

.no-js .content h2 {
  padding: 40px 1% 20px;
    
}

.content p {
  font-size: 1.1em;
  line-height: 1.6;
  font-weight: 420;
  padding: 5px 8%;
  text-align: justify;
      font-family: 'Roboto Condensed', sans-serif;
    color: black;
    
}

         
            
            
       </style>
    
    
    
    
    
    
  </head>
  <body>
    <div id="container" class="container">	

      <div class="menu-panel">
        <h3>Table of Contents</h3>
        <ul id="menu-toc" class="menu-toc">
          <li class="menu-toc-current"><a href="#item1">PAGE FLIP</a></li>
          <li><a href="#item2">RESPONSIVE DESIGN</a></li>
          <li><a href="#item3">FULL SUPPORTS</a></li>
          <li><a href="#item4">FROM VERY SCRATCH</a></li>
          <li><a href="#item5">RETINA DISPLAY</a></li>
        </ul>
         
      </div>

      <div class="bb-custom-wrapper">
        <div id="bb-bookblock" class="bb-bookblock">
          <div class="bb-item" id="item1">
            <div class="content">
              <div class="scroller">
              <br>
                <h2><a href="">PAGE FLIP EFFECT</a></h2>
                <br><br>
                <p>The Hon. Francis Gillette, in a speech in Hartford, Conn., in 1871, said
                that there was "in Connecticut, on an average, one liquor shop to every
                forty voters, and three to every Christian church. In this city, as stated
                in the _Hartford Times_, recently, we have five hundred liquor shops, and
                one million eight hundred and twenty-five thousand dollars were, last
                year, paid for intoxicating drinks. A cry, an appeal, came to me from the
                city, a few days since, after this wise: 'Our young men are going to
                destruction, and we want your influence, counsel, and prayers, to help
                save them.'"</p>

                <p>In New London, report says, the young men are falling into drinking habits
                as never before. So in New Haven, Bridgeport, and the other cities and
                large places of the state.</p>

                <p>"The pulse of a person in health beats about seventy strokes a minute, and
                the ordinary term of life is about seventy years. In these seventy years,
                the pulse of a temperate person beats two billion five hundred and
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."
                greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."
                
                
                
                
                
                </p>
 
                 
              </div>
            </div>
          </div>
          <div class="bb-item" id="item2">
            <div class="content">
              <div class="scroller">
              <br>
                <h2>RESPONSIVE NOW</h2>
                <br><br>
                <p>The Hon. Francis Gillette, in a speech in Hartford, Conn., in 1871, said
                that there was "in Connecticut, on an average, one liquor shop to every
                forty voters, and three to every Christian church. In this city, as stated
                in the _Hartford Times_, recently, we have five hundred liquor shops, and
                one million eight hundred and twenty-five thousand dollars were, last
                year, paid for intoxicating drinks. A cry, an appeal, came to me from the
                city, a few days since, after this wise: 'Our young men are going to
                destruction, and we want your influence, counsel, and prayers, to help
                save them.'"</p>

                <p>In New London, report says, the young men are falling into drinking habits
                as never before. So in New Haven, Bridgeport, and the other cities and
                large places of the state.</p>

                <p>"The pulse of a person in health beats about seventy strokes a minute, and
                the ordinary term of life is about seventy years. In these seventy years,
                the pulse of a temperate person beats two billion five hundred and
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."
                
                greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."
                greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the    
                life."
                
                
                
                </p>
              </div>
            </div>
          </div>
          <div class="bb-item" id="item3">
            <div class="content">
              <div class="scroller">
              <br>
                <h2>FULL SUPPORTS</h2>
                <br><br>
                <p>The Hon. Francis Gillette, in a speech in Hartford, Conn., in 1871, said
                that there was "in Connecticut, on an average, one liquor shop to every
                forty voters, and three to every Christian church. In this city, as stated
                in the _Hartford Times_, recently, we have five hundred liquor shops, and
                one million eight hundred and twenty-five thousand dollars were, last
                year, paid for intoxicating drinks. A cry, an appeal, came to me from the
                city, a few days since, after this wise: 'Our young men are going to
                destruction, and we want your influence, counsel, and prayers, to help
                save them.'"</p>

                <p>In New London, report says, the young men are falling into drinking habits
                as never before. So in New Haven, Bridgeport, and the other cities and
                large places of the state.</p>

                <p>"The pulse of a person in health beats about seventy strokes a minute, and
                the ordinary term of life is about seventy years. In these seventy years,
                the pulse of a temperate person beats two billion five hundred and
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."
                
                
                
                </p>
              </div>
            </div>
          </div>
          <div class="bb-item" id="item4">
            <div class="content">
              <div class="scroller">
              <br>
                <h2>FROM SCRATCH NOW</h2>
                <br><br>
                <p>The Hon. Francis Gillette, in a speech in Hartford, Conn., in 1871, said
                that there was "in Connecticut, on an average, one liquor shop to every
                forty voters, and three to every Christian church. In this city, as stated
                in the _Hartford Times_, recently, we have five hundred liquor shops, and
                one million eight hundred and twenty-five thousand dollars were, last
                year, paid for intoxicating drinks. A cry, an appeal, came to me from the
                city, a few days since, after this wise: 'Our young men are going to
                destruction, and we want your influence, counsel, and prayers, to help
                save them.'"</p>

                <p>In New London, report says, the young men are falling into drinking habits
                as never before. So in New Haven, Bridgeport, and the other cities and
                large places of the state.</p>

                <p>"The pulse of a person in health beats about seventy strokes a minute, and
                the ordinary term of life is about seventy years. In these seventy years,
                the pulse of a temperate person beats two billion five hundred and
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
               "
                
                
                
                </p>
              </div>
            </div>
          </div>
          <div class="bb-item" id="item5">
            <div class="content">
              <div class="scroller">
              <br>
                <h2>RETINA DISPLAY</h2>
                <br><br>
                <p>The Hon. Francis Gillette, in a speech in Hartford, Conn., in 1871, said
                that there was "in Connecticut, on an average, one liquor shop to every
                forty voters, and three to every Christian church. In this city, as stated
                in the _Hartford Times_, recently, we have five hundred liquor shops, and
                one million eight hundred and twenty-five thousand dollars were, last
                year, paid for intoxicating drinks. A cry, an appeal, came to me from the
                city, a few days since, after this wise: 'Our young men are going to
                destruction, and we want your influence, counsel, and prayers, to help
                save them.'"</p>

                <p>In New London, report says, the young men are falling into drinking habits
                as never before. So in New Haven, Bridgeport, and the other cities and
                large places of the state.</p>

                <p>"The pulse of a person in health beats about seventy strokes a minute, and
                the ordinary term of life is about seventy years. In these seventy years,
                the pulse of a temperate person beats two billion five hundred and
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                four hundred and forty thousand pulsations are performed in little more
                than half the ordinary term of human life, and life goes out in   instead of seventy. This application of  
                life."	the pulse of a temperate person beats two billion five hundred and
                seventy-four million four hundred and forty thousand times. If no actual
                disorganization should happen, a drunken person might live until his pulse
                beat this number of times; but by the constant stimulus of ardent spirits,
                or by pulse-quickening food, or tobacco, the pulse becomes greatly
                accelerated, and the two billion five hundred and seventy-four million
                 
                </p>
              </div>
            </div>
          </div>
        </div>
        
        <nav>
          <span id="bb-nav-prev">&larr;</span>
          <span id="bb-nav-next">&rarr;</span>
        </nav>

        <span id="tblcontents" class="menu-button">Table of Contents</span>

      </div>
        
    </div><!-- /container -->
    <script src="https://www.5g-o.com/codedesign/wp-content/uploads/2020/04/google-jquery-2.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jScrollPane/2.2.1/script/jquery.jscrollpane.min.js"></script>
     
    <script src="js/jquery.bookblock.js"></script>
    <script src="js/page.js"></script>
    <script>
      $(function() {

        Page.init();

      });
    </script>
  </body>

 
</html>

源码下载地址

在新演示地址

点赞 评论 转发就是对up的最大支持和鼓励, 非常谢谢!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值