Bootstrap KS Technologies.

Slides:



Advertisements
Similar presentations
Twitter Bootstrap. Agenda What is it? Grids and Fluid layouts Globals and Typography Tables, Forms and Buttons Navigation Media and thumbnails Responsive.
Advertisements

Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
CISC 474: Advanced Web Technologies HTML5 & CSS3, & Responsive Design.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Responsive design - Bedrock to our site Responsive site templates included.
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
Bootstrap by:- Vignesh Dhamodaran. What is Bootstrap? Originally created by a designer and a developer at Twitter. So initial name is Twitter Bootstrap.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Bootstrap Front-End Framework for Responsive Web Sites Svetlin Nakov Technical Trainer Software University
Positioning Objects with CSS and Tables
 An HTML, CSS, Javascript framework you can use as a basis for creating web sites  Uses CSS settings, fundamental HTML elements styled and enhanced.
A gentle introduction to Bootstrap MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/18/
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
Chapter 4 Bootstrap. Content Bootstrap with CSS Bootstrap Layout Components Bootstrap Plugins.
A gentle introduction to Bootstrap TDAP Jeremy Shafer Department of MIS Fox School of Business Temple University Spring
Front-end framework 1.
HTML HTML5 InfoTech Seminar.
Bootstrap L. Grewe.
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
CNIT131 Internet Basics & Beginning HTML
Cookies, Sessions, Bootstrap
>> Navigation and Layouts in CSS
Bootstrap 3 SoftUni Team Technical Trainers Software University
PHP MySQL Crash Course with HTML CSS
4.01 Cascading Style Sheets
Twitter Bootstrap Grid System
A gentle introduction to Bootstrap
CSS Bootstrap.
Front-End Framework for Responsive Web Sites
Human Computer Interaction
Cao Yuewen SEEM4570 Tutorial 03: CSS Cao Yuewen
Positioning Objects with CSS and Tables
Introduction to Bootstrap Bootstrap සදහා හැදින්වීම
Cascading Style Sheets (Layout)
Web Programming– UFCFB Bootstrap Lecture 12
DHTML tidbits.
User Interface Design and Usability Bootstrap
Bootstrap A popular HTLM, CSS, and JS framework for developing responsive, mobile first projects on the web.
Creating a Baseline Grid
CS3220 Web and Internet Programming Introduction to Bootstrap
IS1500: Introduction to Web Development
Bootstrap響應式網頁設計 (Responsive Web Design, RWD)
Revision.
Bootstrap Topics What is bootstrap? Documentation
Objectives Create a reset style sheet Explore page layout designs
DHTML tidbits.
A gentle introduction to Bootstrap
Responsive Framework.
Responsive Web Design and Bootstrap
06 | Introduction to Bootstrap
DHTML tidbits.
Responsive Grid Layout with Bootstrap
SEEM4570 Tutorial 3: CSS + CSS3.0
Chapter 2 Bootstrap Grid System
Responsive Web Design and Bootstrap
CS3220 Web and Internet Programming Introduction to Bootstrap
Web Page Layout Imran Rashid CTO at ManiWeber Technologies.
Exploring Bootstrap Components
Bootstrap 4 December 17, 2018.
Web Client Side Technologies Raneem Qaddoura
Web Client Side Technologies Raneem Qaddoura
4.01 Cascading Style Sheets
Positioning Objects with CSS and Tables
CSc 337 Lecture 5: Grid layout.
creating websites and web applications responsive.
Bootstrap/WebFlow Web development of the future
Presentation transcript:

Bootstrap KS Technologies

Topics How to Download. File Structure. How to implement. Grid System Image Table Form Button KS Technologies

Definition & How to Download Bootstrap is a powerful mobile first front-end framework for faster and easier web development. It uses HTML, CSS and JavaScript. Browser Support: It is supported by all popular browsers. KS Technologies

Bootstrap's responsive CSS adjusts to Desktops, Tablets and Mobiles. Why use Bootstrap? Easy to get started: With just the knowledge of HTML and CSS anyone can get started with Bootstrap. Also the Bootstrap official site has a good documentation.  Responsive design: Bootstrap's responsive CSS adjusts to Desktops, Tablets and Mobiles. KS Technologies

Download Bootstrap You can download the latest version of Bootstrap from http://getbootstrap.com/. KS Technologies

KS Technologies

KS Technologies

File Structure KS Technologies

How to implement Basic HTML Template using Bootstrap: <!DOCTYPE html> <html> <head> <title>Bootstrap 101 Template</title> <!-- Bootstrap --> <link href="css/bootstrap.css" rel="stylesheet"> <script src="js/bootstrap.min.js"></script> </head> <body> <h1>Hello, world!</h1> </body> </html> KS Technologies

Grid System Grid Structure Following is basic structure of Bootstrap grid − <div class = "container"> <div class = "row"> <div class = "col-*-*"> </div> <div class = "row“> KS Technologies

Device type (size).. Xs – extra small Sm – small Md – medium Lg- large This all device is divide in 12 columns as per requirement. Like… Col-xs-12 Col-sm-12 Col-md-12 Col-lg-12 Ex…. KS Technologies

<div class = "container"> <div class = "row" > <div class = "col-xs-12 col-sm-6 col-md-9 col-lg-9" style = "background-color: #dedef8; "> <b>Email : demo@gmail.com || Phone no. +91 8866986565</b> </div> <div class = "col-xs-12 col-sm-6 col-md-3 col-lg-3 " style = "background-color: #dedef8;"> <a href=“#”>Login</a> <a href=“#”>SignUp</a> KS Technologies

Responsive images Bootstrap 3 allows to make the images responsive by adding a class .img-responsive to the <img>tag. This class applies max-width: 100%; and height: auto; to the image. <img src="..." class="img-responsive" alt="Responsive image"> KS Technologies

.img-thumbnail: adds a bit of padding and a gray border: Bootstrap provides three classes that can be used to apply some simple styles to images: .img-rounded: adds border-radius:6px to give the image rounded corners. .img-circle: makes the entire image round by adding border- radius:500px. .img-thumbnail: adds a bit of padding and a gray border: The following example demonstrates this: KS Technologies

Table Basic Table: If you want a nice, basic table style with just some light padding and horizontal dividers, add the base class of .table to any table as shown in the following example: <table class="table"> . </table> KS Technologies

By adding the .table-striped class, as seen in the following example: STRIPED TABLE : By adding the .table-striped class, as seen in the following example: <table class="table table-striped"> <caption>Striped Table Layout</caption> . </table> KS Technologies

BORDERED TABLE : By adding the .table-bordered class, you will get borders surrounding every element and rounded corners around the entire table as seen in the following example: <table class="table table-bordered"> <caption>Striped Table Layout</caption> . </table> KS Technologies

HOVER TABLE : By adding the .table-hover class, a light gray background will be added to rows while the cursor hovers over them, as seen in the following example: <table class="table table-hover"> <caption>Striped Table Layout</caption> . </table> KS Technologies

RESPONSIVE TABLES: By wrapping any .table in .table-responsive class, you will make the table scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables. <div class="table-responsive"> <table class="table"> <caption>Responsive Table Layout</caption> . </table> </div> KS Technologies

Form Here we will discuss, how to create forms with ease using Bootstrap. Form Layout: Bootstrap provides you with following types of form layouts: Vertical (default) form Inline form Horizontal form KS Technologies

<form role="form"> <div class="form-group"> VERTICAL OR BASIC FORM: Add a role form to the parent <form> element. Wrap labels and controls in a <div> with class .form-group. This is needed for optimum spacing. Add a class of .form-control to all textual <input>, <textarea>, and <select> elements. <form role="form"> <div class="form-group"> <label for="name">Name</label> <input type="text" class="form-control" id="name" placeholder="Enter Name"> </div> </form> KS Technologies

INLINE FORM : To create a form where all of the elements are inline, left aligned and labels are alongside, add the class .forminline to the <form> tag. <form class="form-inline" role="form"> <div class="form-group"> <label for="name">Name</label> <input type="text" class="form-control" id="name" placeholder="Enter Name"> </div> </form> KS Technologies

Add a class of .form-horizontal to the parent <form> element. HORIZONTAL FORM: Add a class of .form-horizontal to the parent <form> element. Wrap labels and controls in a <div> with class .form-group. Add a class of .control-label to the labels. <form class="form-horizontal" role="form"> <div class="form-group"> <label for="firstname" class="col-sm-2 control-label">First Name</label> <div class="col-sm-10"> <input type="text" class="form-control" id="firstname“ placeholder="Enter First Name"> </div> </forms> KS Technologies

button Here we will discuss about how to use Bootstrap button with examples. Anything that is given a class of .btn will inherit the default look of a gray button with rounded corners. KS Technologies

Following example demonstrates all the above button classes: 1. <a href="#" class="btn btn-primary“> Back to home </a> 2. <input type=“submit” class="btn btn-success“ Value=“Back to home” name=“save”> KS Technologies

Thank you.. KS Technologies