Learning Bootstrap 4 - Programmer Books

[Pages:235] Learning Bootstrap 4

Second Edition

Unearth the potential of Bootstrap 4 to create highly responsive and beautiful websites using modern web techniques

Matt Lambert

BIRMINGHAM - MUMBAI

Learning Bootstrap 4

Second Edition

Copyright ? 2016 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: December 2014 Second edition: August 2016 Production reference: 1220816

Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78588-100-8



Credits

Author Matt Lambert

Copy Editor Safis Editing

Reviewer Sherwin Robles

Project Coordinator Ulhas Kambali

Commissioning Editor Wilson Dsouza

Proofreader Safis Editing

Acquisition Editor Dharmesh Parmar

Indexer Tejal Daruwale Soni

Content Development Editor Prashanth G Rao

Production Coordinator Melwyn Dsa

Technical Editor Murtaza Tinwala

Graphics Abhinash Sahu

About the Author

Matt Lambert is a designer and developer with more than 16 years of experience. He currently works full-time as a senior product designer for CA Technologies in Vancouver, BC, Canada.

In his free time, he is an author, artist, and musician. In 2005, Matt founded Cardeo Creative, which is a small web design studio based in Vancouver. He works with a select list of clients on a part-time basis while producing his own products on the side.

To date, Matt has self-published three additional development books titled: Mastering Bootstrap, CSS3 Handbook, and the Freelance Startup Guide. He is also the author of Bootstrap Site Blueprints Volume II, Packt Publishing.

About the Reviewer

Sherwin Robles is a web application developer from the Philippines with a solid 5 years of experience of designing, developing, and implementing automated solutions. Most of his projects are built with the CakePHP framework with the help of Bootstrap, which makes development even faster. In April 2015 he joined INIGOTECH, a company that aims to make your ideas into reality.

His expertise is rooted in research and development endeavors on the subject of achieving improved levels of dependability from Internet and computing systems.



eBooks, discount offers, and more

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@ for more details. At , you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

h t t p s : / / w w w 2 . p a c k t p u b . c o m / b o o k s / s u b s c r i p t i o n / p a c k t l i b

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

Fully searchable across every book published by Packt Copy and paste, print, and bookmark content On demand and accessible via a web browser

Table of Contents

Preface

1

Chapter 1: Introducing Bootstrap 4

7

Introducing Bootstrap

7

Bootstrap 4 advantages

8

Improved grid system and flexbox

8

Card component

8

Rebooting normalize.css

9

Internet Explorer 8 support dropped

9

Other updates

9

Implementing framework files

9

Inserting the JavaScript files

10

The starter template

10

HTML5 DOCTYPE

11

Structuring the responsive meta tag

12

Normalizing and Rebooting

12

Taking the starter template further

12

Using a static site generator

12

Converting the base template to a generator

13

Installing Harp.js

13

Adding Sass in Harp

14

Setting up the project

14

Inserting the CSS

14

Inserting the JavaScript

14

Other directories

14

Setting up the layout

15

Compiling your project

16

Previewing your project

16

Deploying your project

16

Installing Surge

17

Using Surge to deploy your project

17

Summary

17

Chapter 2: Using Bootstrap Build Tools

18

Different types of tools

18

Installing Node.js

19

Updating npm

19

Installing Grunt

21

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download