万本电子书0元读

万本电子书0元读

顶部广告

Mastering Bootstrap 4电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Benjamin Jakobus,Jason Marah

出  版  社:Packt Publishing

出版时间:2016-09-01

字       数:190.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Learn how to build beautiful and highly customizable web interfaces by leveraging the power of Bootstrap 4 About This Book Adapt and customize Bootstrap to produce enticing websites that fit your needs Explore Bootstrap's grid system, helper classes, and responsive utilities Extend Bootstrap with jQuery plugins and learn how to create your own custom plugins Who This Book Is For This book targets intermediate-level front-end web-developers. The book is not intended to be an introduction to web development. As such, the book assumes that readers have a firm grasp on the basic concepts behind web-development, as well as essential HTML, JavaScript and CSS skills. What You Will Learn Create a professional Bootstrap-based website from scratch without using third-party templates Apply the Bootstrap mobile-first grid system and add responsiveness and aesthetic touches to image elements Style various types of content and learn how to build a page’s layout from scratch by applying the power of Bootstrap 4 Take advantage of Bootstrap’s form helper and contextual classes Infuse your web pages with life and movement using Bootstrap jQuery plugins Customize the behavior and features of Bootstrap’s jQuery Plugins extensively Optimize your Bootstrap-based project before deployment Incorporate Bootstrap into an AngularJS or React application and use Bootstrap components as AngularJS directives or React components In Detail Bootstrap 4 is a free CSS and JavaScript framework that allows developers to rapidly build responsive web-interfaces. Right from the first chapter, dive into building a customized Bootstrap website from scratch. Get to grips with Bootstrap’s key features and quickly discover the various ways in which Bootstrap can help you develop web-interfaces. Then take walk through the fundamental features, such as its grid system, helper classes, and responsive utilities. When you have mastered these, you will discover how to structure page layouts, use forms, style different types of content and utilize Bootstrap’s various navigation components. Among other things, you will also tour the anatomy of a Bootstrap plugin, creating your own custom components and extending Bootstrap using jQuery. Finally, you will discover how to optimize your website and integrate it with third-party frameworks. By the end of this book, you will have a thorough knowledge of the framework’s ins and outs, and be able to build highly customizable and optimized web interfaces. Style and approach This comprehensive step-by-step guide walks you through building a complete website using Bootstrap 4. Each chapter is accompanied by source code and screenshots, and focuses on a distinct set of lessons that are illustrated within the context of a demo project.
目录展开

Mastering Bootstrap 4

Mastering Bootstrap 4

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Why subscribe?

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Revving Up Bootstrap

Introducing our demo project

What Bootstrap 4 Alpha 4 has to offer

Layout

Content styling

Components

Mobile support

Utility classes

Cross-browser compatibility

Sass instead of Less

From pixel to root em

No more support for Internet Explorer 8

A new grid tier

Bye-bye GLYPHICONS

Bigger text: no more panels, wells, and thumbnails

New and improved form input controls

Customization

Setting up our project

Summary

2. Making a Style Statement

The grid system

Containers

container

container-fluid

Rows

Columns

Nesting

Pulling and pushing

Offsetting

Image elements

Responsive images

Image modifiers

Responsive utilities

Helper classes

Context

Centering and floating

Toggling visibility

Text alignment and transformation

Summary

3. Building the Layout

Splitting it up

Adding Bootstrap components

Jumbotron

Tabs

Carousel

Cards

Navbar

Styling

Summary

4. On Navigation, Footers, Alerts, and Content

Fixating the navbar

Improving navigation using Scrollspy

Customizing scroll speed

Icons

A note on icons in Bootstrap 3

Using and customizing alerts

Creating a footer

Creating and customizing forms

Form validation

Progress indicators

Adding content using media objects

Figures

Quotes

Abbreviations

Summary

5. Speeding Up Development Using jQuery Plugins

Browser detection

Enhanced pagination using bootpag

Displaying images using Bootstrap Lightbox

Improving our price list with DataTables

Summary

6. Customizing Your Plugins

Anatomy of a plugin

JavaScript

Setup

Class definition

Data API implementation

jQuery

Sass

Customizing plugins

Customizing Bootstrap's jQuery alert plugin

The markup

Extending alert's style sheets

Extending alert's functionality with JavaScript

Customizing Bootstrap's jQuery carousel plugin

The markup

Extending carousel's functionality with JavaScript

Extending carousel's style sheets

Writing a custom Bootstrap jQuery plugin

The idea – the A11yHCM plugin

The a11yHCM.js file

The markup

Adding some style

Summary

7. Integrating Bootstrap with Third-Party Plugins

Building a testimonial component with Salvattore

Introducing Salvattore

Integrating Salvattore with Bootstrap

Adding Animate.css to MyPhoto

Bouncing alerts

Animating a Salvattore grid

Hover

Adding Hover to MyPhoto

Making the navbar grow

Awesome Hover icons

Salvattore Hover

Summary

8. Optimizing Your Website

CSS optimization

Inline styles

Long identifier and class names

Shorthand rules

Grouping selectors

Rendering times

Minifying CSS and JavaScript

Introducing Grunt

Minification and concatenation using Grunt

Running tasks automatically

Stripping our website of unused CSS

Processing HTML

Deploying assets

Stripping CSS comments

JavaScript file concatenation

Summary

9. Integrating with AngularJS and React

Introducing AngularJS

Setting up AngularJS

Improving the testimonials component

Making testimonials dynamic

Making a Promise with $q

Creating an AngularJS directive

Writing the testimonials template

Testing the testimonial directive

Importing the Salvatorre library

Introducing React

Setting up React

Making a Gallery component in React

Using carousel in React

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部