Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Bootstrap Classic Page layout

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you about the classic bootstrap page layout, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

HTML Code logo nav content CSS style

The code is divided into formatting code (used to clear compatibility issues between different browsers)

Layout code (code for interface layout)

/ * Taobao CSS format code * / body, H2, h3, h4, h5, H6, H7, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {margin: 0; padding: 0; body, button, input, select, textarea {font: 12px/1.5 tahoma, arial,\ 5b8b\ 4f53 } H2, h3, h4, h5, h6, h7 {font-size: 100%;} address, cite, dfn, em, var {font-style: normal;} code, kbd, pre, samp {font-family: couriernew, courier, monospace;} small {font-size: 12px } ul, ol {list-style: none;} a {text-decoration: none;} a:hover {text-decoration: underline;} sup {vertical-align: text-top;} sub {vertical-align: text-bottom } legend {color: # 000;} fieldset, img {border: 0;} button, input, select, textarea {font-size: 100%;} table {border-collapse: collapse; border-spacing: 0 } / * layout CSS code * / body, html {background: # EAEEF2; width: 100%; height: 100%; color: lightblue;}. Container-fluid {background: aquamarine; height: 100%;} .logo {background: black Font-size: 40px; padding-left: 20px; height: 60px; min-height: 60px; width: 100%; position: fixed; top: 0; right: 0; z-index: 100;} .nav {background: white Font-size: 30px; height: 100%; width: 15%; float: left; position: relative; margin-right:-100%; box-shadow: 0px 2px 3px 2px rgba (0,0,0,0.1);} .content {height: 100%; width: 85% Margin-left: 15%;}. Content-body {padding-left: 15px; padding-right: 15px; background: white; height: 100%; font-size: 300px; box-shadow: 0px 0px 10px rgba (0,0,0,0.3); overflow: auto } .main {background: # F8F8F8; height: 100%; padding-top: 68px; padding-bottom: 6px;} above is all the content of the article "bootstrap Classic Page layout". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report