html and css3 js 公司简介左侧导航和翻页特效完美融合cid1100

 
<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://code.5g-o.com/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>

在线演示


让链接同时具备两种打开方式
获取源码: Pageflipeffect
下载数:204人次, 文件大小: 34.2 KB, 上传日期: 2020年-11月-25日

公众号回复:gcode  获取解压密码

qrcode_for_gh_6ea2c28a1709_258 (1)

 

2,588 人查阅

一键获取本网站前端代码设计的所有源码

获取资源构建和完善自己的源码库
源码可以在本地直接演示
同时研究和体验 如何将一些具体的想法的实现过程
源码可以直接嫁接到自己的网站里复用
稍作修改成为自己的作品
下载 (4)

您需要先支付 8元 才能查看此处内容!立即支付

类似文章