万本电子书0元读

万本电子书0元读

顶部广告

Bootstrap By Example电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:Silvio Moreto

出  版  社:Packt Publishing

出版时间:2016-03-30

字       数:182.0万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Master Bootstrap 4's frontend framework and build your websites faster than ever before About This Book Become an expert in Bootstrap framework, and speed up front-end development and prototyping through real-life examples An applied guide exploring two web applications such as Twitter and Dashboard from scratch Hands on the Bootstrap version 4 even before the official release Who This Book Is For If you are a frontend developer with no knowledge of Bootstrap, then this book is for you. Basic knowledge of HTML, CSS, and JavaScript is expected, as well as a reasonable understanding of web frameworks, such as jQuery. What You Will Learn Discover how to use Bootstrap’s components and elements, and to customize them for your own projects Understand the framework’s usage in the best way with the recommended development patterns Create web pages for any kind of device like tablet, mobile, computer, etc. Construct a Twitter app by exploring the advanced bootstrap components like Breadcrumbs, Pagination, Media objects, and so on Combine the power of JavaScript with your Bootstrap app for more functionality Create a Dashboard web app using Bootstrap’s JavaScript plugins Learn the difference between Bootstrap’s version 3 and 4 of the framework Extend your knowledge on Bootstrap’s external plugins, their incorporation and usage In Detail Bootstrap is a free, open source collection of tools that helps developers create websites or web applications. It provides a faster, easier, and less repetitive solution to designing and building applications. Before Bootstrap’s release, it was necessary to import a variety of libraries into your project that offered different components and features for web interface development. Plus with the increased popularity of smartphones there were lack of libraries that could handle the responsiveness of a web page. Bootstrap‘s existence let it quickly become famous as a front-end framework that offered a wide set of tools from page grid up to components that render a web page in the best possible way for any device. This book will be a tutorial covering various examples as well as step-by-step methodology to create interesting web applications using Bootstrap and to understand the front-end framework to its core. We begin with an introduction to the Bootstrap framework and setting up an environment to build a simple web page. We then cover the grid system, basic Bootstrap components, HTML elements, and customization components for responsive and mobile first development. This is presented by creating a beautiful Landing page sample. You will also learn how to create a web application like Twitter by using the full set of components offered in the framework. Finally, you will learn to create a dashboard web app, using Bootstrap to its finest potential including component customizations, event handling, and external library integration. All these examples are explained step-by-step and in depth, while covering the versions 3 and the most recent version 4 of Bootstrap. So, you will be in the state of the art for front-end development. By the end of this book, you will be familiar with the development of a plugin for the framework and Bootstrap’s world which is popular for fast paced front-end web development, used in countless projects all over the world, and now yours. Style and approach This is a step-by-step guide that closely focuses on developing web applications in most objective way solving real-life problems with Bootstrap. It covers two sample web applications, which are explained in detail.
目录展开

Bootstrap By Example

Table of Contents

Bootstrap By Example

Credits

About the Author

About the Reviewer

www.PacktPub.com

eBooks, discount offers, and more

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. Getting Started

Getting Bootstrap

Setting up the framework

Folder structure

Warming up the sample example

Bootstrap required tags

Building our first Bootstrap example

The container tag

Optionally using the CDN setup

Community activity

Tools

Bootstrap and web applications

Browser compatibility

Summary

2. Creating a Solid Scaffolding

Understanding the grid system

Building our scaffolding

Setting things up

Offset columns

Completing the grid rows

Nesting rows

Finishing the grid

Fluid container

We need some style!

There are headings everywhere

Playing with buttons

More typography and code tags

Manipulating tables

Styling the buttons

Like a boss!

Final thoughts

Box-sizing

Quick floats

Clearfix

Font definitions for typography

Summary

3. Yes, You Should Go Mobile First

Making it greater

Bootstrap and the mobile-first design

How to debug different viewports at the browser

Cleaning up the mess

Creating the landing page for different devices

Mobile and extra small devices

Tablets and small devices

Desktop and large devices

Summary

4. Applying the Bootstrap Style

Changing our grid layout

Starting over the grid system

The header

The introduction header

The about section

The features section

The price table section

The footer

Forming the forms

Newsletter form

Contact form

Let's start with some JavaScript

The sign-in form

Images

Helpers

Floating and centering blocks

Context colors

Spacing

Responsive embeds

Summary

5. Making It Fancy

Using Bootstrap icons

Paying attention to your navigation

Until the navigation collapse

Using different attachments

Coloring the bar

Dropping it down

Customizing buttons dropdown

Making an input grouping

Getting ready for flexbox!

Understanding flexbox

Playing with Bootstrap and flexbox

Summary

6. Can You Build a Web App?

Understanding web applications

Creating the code structure

Adding the navigation

Adding the search input

Time for the menu options!

The option at the thumbnail

Adding the Tweet button

Customizing the navigation bar

Setting up the custom theme

Fixing the list navigation bar pseudo-classes

You deserve a badge!

Fixing some issues with the navigation bar

Do a grid again

Playing the cards

Learning cards in Bootstrap 4

Creating your own cards

Adding Cards to our web application

Another card using thumbnails

Implementing the main content

Making your feed

Doing some pagination

Creating breadcrumbs

Finishing with the right-hand-side content

Summary

7. Of Course, You Can Build a Web App!

Alerts in our web app

Dismissing alerts

Customizing alerts

Waiting for the progress bar

Progress bar options

Animating the progress bar

Creating a settings page

Pills of stack

Tabs in the middle

Adding the tab content

Using the Bootstrap tabs plugin

Creating content in the user info tab

The stats column

Labels and badges

Summary

8. Working with JavaScript

Understanding JavaScript plugins

The library dependencies

Data attributes

Bootstrap JavaScript events

Awesome Bootstrap modals

Modal general and content

The modal header

The modal body

The modal footer

Creating our custom modal

A tool for your tip

Pop it all over

Popover events

Making the menu affix

Finishing the web app

Summary

9. Entering in the Advanced Mode

The master plan

The last navigation bar with flexbox

The navigation search

The menu needs navigation

Checking the profile

Filling the main fluid content

From the side stacked menu

I heard that the left menu is great!

Learning the collapse plugin

Using some advanced CSS

Filling the main content

Rounding the charts

Creating a quick statistical card

Getting a spider chart

Overhead loading

Fixing the toggle button for mobile

Summary

10. Bringing Components to Life

Creating the main cards

The other card using Bootstrap components

Creating our last plot

Fixing the mobile viewport

Fixing the navigation menu

The notification list needs some style

Adding the missing left menu

Aligning the round charts

Learning more advanced plugins

Using the Bootstrap carousel

Customizing carousel items

Creating slide indicators

Adding navigation controls

Other methods and options for the carousel

The Bootstrap spy

Summary

11. Making It Your Taste

Customizing a Bootstrap component

The taste of your button

Using button toggle

The checkbox toggle buttons

The button as a radio button

Doing the JavaScript customization

Working with plugin customization

The additional Bootstrap plugins

Creating our Bootstrap plugin

Creating the plugin scaffold

Defining the plugin methods

The initialize method and plugin verifications

Adding the Bootstrap template

Creating the original template

The slide deck

The carousel indicators

The carousel controls

Initializing the original plugin

Making the plugin alive

Creating additional plugin methods

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部