- Node.js 6.x Blueprints
- Fernando Monteiro
- 183字
- 2021-07-14 10:35:07
Adding style to the application
We'll also add a few lines of CSS in the public/stylesheet
file to style our example application.
Open public/stylesheets/style.css
and add the following code:
body { min-height: 75rem; /* Can be removed; just added for demo purposes */ } .navbar { margin-bottom: 0; } .navbar-collapse .container-fluid { padding: 2rem 2.5rem; border-bottom: 1px solid #55595c; } .navbar-collapse h4 { color: #818a91; } .navbar-collapse .text-muted { color: #818a91; } .about { float: left; max-width: 30rem; margin-right: 3rem; } .social a { font-weight: 500; color: #eceeef; } .social a:hover { color: #fff; } .jumbotron { padding-top: 6rem; padding-bottom: 6rem; margin-bottom: 0; background-color: #fff; } .jumbotron p:last-child { margin-bottom: 0; } .jumbotron-heading { font-weight: 300; } .jumbotron .container { max-width: 45rem; } .album { min-height: 50rem; /* Can be removed; just added for demo purposes */ padding-top: 3rem; padding-bottom: 3rem; background-color: #f7f7f7; } .card { float: left; width: 33.333%; padding: .75rem; margin-bottom: 2rem; border: 0; } .card > img { margin-bottom: .75rem; } .card-text { font-size: 85%; } footer { padding-top: 3rem; padding-bottom: 3rem; } footer p { margin-bottom: .25rem; }
推薦閱讀
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Mastering JavaScript Design Patterns(Second Edition)
- ASP.NET程序開發范例寶典
- Java EE企業級應用開發教程(Spring+Spring MVC+MyBatis)
- Raspberry Pi Robotic Projects(Third Edition)
- STM8實戰
- Hack與HHVM權威指南
- Mastering ASP.NET Core 2.0
- Spark技術內幕:深入解析Spark內核架構設計與實現原理
- LabVIEW數據采集(第2版)
- 微信公眾平臺開發最佳實踐
- Mastering PostgreSQL 11(Second Edition)
- Kotlin核心編程