Advertisement
Grawl

Untitled

Apr 7th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.84 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html lang="en-US">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>bootstrap lab</title>
  6.     <link rel="stylesheet" href="bootstrap.min.css">
  7.     <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
  8.     <script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
  9.     <style type="text/css">
  10.     .row > * {
  11.         /*outline: 1px dashed;*/
  12.         /*height: 100px;*/
  13.     }
  14.     aside > #logo {
  15.         background: green;
  16.         width: 200px;
  17.         height: 200px;
  18.     }
  19.     aside > #player {
  20.         background: blue;
  21.         width: 200px;
  22.         height: 50px;
  23.     }
  24.     .panes {
  25.         background: #E6E6E6;
  26.     }
  27.     .panes > div {
  28.         display: none;
  29.         padding: 10px 15px;
  30.         height: 160px;
  31.     }
  32.     .panes > div.current {
  33.         display: block;
  34.         border: 1px solid hsl(0, 0%, 60%);
  35.         width: 450px;
  36.     }
  37.     .tabs > li {
  38.         display: inline;
  39.     }
  40.     .tabs > li a {
  41.         text-decoration: none;
  42.         margin-right: 10px;
  43.         color: black;
  44.     }
  45.     </style>
  46. </head>
  47. <body class="container">
  48.     <div class="row">
  49.         <aside class="span3">
  50.             <img src="logo.png" alt="логотип" id="logo">
  51.             <div id="player">проигрыватель</div>
  52.         </aside>
  53.         <section class="span9">
  54.             <h1>клёвый сайт</h1>
  55.             <div class="panes">
  56.                 <div>First tab content. Tab contents are called "panes"</div>
  57.                 <div>Second tab content</div>
  58.                 <div>
  59.                     <p>Параграф такой лорем ипсум</p>
  60.                     <ul>
  61.                         <li>
  62.                             <a href=""></a>
  63.                             <a href=""></a>
  64.                             <a href=""></a>
  65.                         </li>
  66.                     </ul>
  67.                 </div>
  68.             </div>
  69.             <ul class="tabs">
  70.                 <li><a href="#">Tab 1</a></li>
  71.                 <li><a href="#">Tab 2</a></li>
  72.                 <li><a href="#">Tab 3</a></li>
  73.             </ul>
  74.             <script type="text/javascript">
  75.             $(function() {
  76.                 $("ul.tabs").tabs("div.panes > div", {
  77.                     effect: 'fade'
  78.                 });
  79.             });
  80.             </script>
  81.         </section>
  82.     </div>
  83. </body>
  84. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement