SlideShare a Scribd company logo
Bootstrap for Beginners 
Your introduction to Responsive Design and SharePoint 
D’arce Hess 
SharePoint Interface Developer 
SharePoint Saturday New Hampshire #SPSNH – 10/18/2014
The Test 
1 .Back_Row{ 
2 move to front 
3 }
For Coders 
1 $(“tr:last”).each(function () { 
2 moveForward(); 
3 });
Who am I? 
D’arce Hess 
Developer, Athlete and Musician 
Atrion 
Blog: www.thebrandingbutterfly.com 
Website: www.atrion.net 
Email: dhess@atrion.net 
@darcehess 
www.linkedin.com/in/darcehess/ 
http://www.youtube.com/user/DarceHess
Agenda 
Introduction 
to Bootstrap 
Sass & LESS 
Responsive 
Design 
Boot Camp 
Integrating 
with 
SharePoint 
It’s a Bug’s 
Life 
Voila Questions
INTRODUCTION 
TO BOOTSTRAP
What is Bootstrap? 
“Bootstrap is the most popular HTML, CSS and 
JS framework for developing responsive, mobile 
first projects on the web” 
Where to get it: 
http://getbootstrap.com/
Why should we consider using it? 
Pros 
• Allows for faster prototyping 
• Grid has already been established 
• Easy to engage newer web developers 
• SASS and LESS 
Cons 
• Can be bloated 
• Some resets need to be made to work with 
SharePoint 
• May be too restrictive for experienced developers
The Grid
Our Mock Up 
• Keep it simple 
• Think Containers, Not 
Content
After Development
DEMO
How to break it down 
• Contains a container 
• Contains a row 
• Contains columns that 
equal to 12
Containers
Rows 
Inside each container is 
a row. You can also 
have containers inside 
of a row (nested). 
A row equals 12 
columns total.
Columns 
Every row needs to have 12 columns 
You can split the columns in any 
division by 12
How to know what column size to use 
You can add multiple classes to an element to adjust how it will display on 
different devices.
The Box Model 
Bootstrap uses box-sizing: border-box; 
This means that padding does not affect the computed width of an element. 
SharePoint uses box-sizing: content-box; 
This means that if you add a border to an element it equals the element + 2px.
Bootstrap Extras 
Glyphicons Dropdowns Button 
Dropdowns 
Several types of 
navigation 
Forms Pagination
Sass & LESS
Sass 
Sass is a pre-processor for CSS 
English translation: You can now write CSS and compile the same way you 
would write regular code. 
Variables 
Compiles to 
Nesting
Sass - continued 
Operators 
Do you remember your order of 
operations? 
Mixins
Sass and Less Support 
Visual Studio Plug-ins 
Mindscape Web Workbench 
SassyStudio
RESPONSIVE 
DESIGN 
BOOTCAMP
RWD History Lesson 
The term “Responsive Web Design” was coined by Ethan Marcotte in his 
article “A List Apart”. 
States that there are three requirements to implement Responsive Design: 
• CSS3 Media Queries 
• Fluid Grid 
• Flexible Images 
Three main types 
• Responsive Web Design 
• Adaptive Design 
• Progressive Enhancement (mobile-first)
With great power…. 
Just because you can, doesn’t mean that you should! 
Time to think about the user experience: 
• Do you want your users to scroll forever when down on a mobile 
device? 
• That beautiful banner image and rotator do not add any value on a 
phone. 
• Mobile users are using data to load your site, size of images and files 
matters. Time to optimize. 
• Think of options for links and buttons to be easier to use for touch. 
• Remember, there is no hover functionality on a mobile device
INTEGRATION 
WITH 
SHAREPOINT
CodePlex – Responsive SharePoint 
To help get you started: This was a labor of love created by community 
members for Community members. 
http://responsivesharepoint.codeplex.com/
Bring in the .Net controls 
Set up your frame the same and then bring in the webpart containers inside of your columns 
This is a page layout example
Master Page Controls 
Master page
MySites and Team Sites 
Both of these layouts us the “Wiki” page layout. These are out-of-the-box layouts 
that do not come with Publishing Features enabled. 
This means you cannot create a custom layout for these pages. You can make 
them responsive by adjusting the tables in the layout, but it is very difficult to do.
IT’S A BUG’S LIFE
Bootstrap 3 resets for SharePoint
Browser Compatibility 
SharePoint 2010 
SharePoint 2010 automatically reverts users to using IE8. 
You will need to plan on installing the following javascript libraries to emulate 
HTML5 and CSS3 properties 
• Respond.js 
• Modernizr 
• HTML5 shiv 
You will need to adjust your media queries
Browser Compatibility - continued 
SharePoint 2013 
SharePoint 2013 supports modern browsers staring with IE9+ 
<form> </form tag is not supported. 
If using Design Manager, all code must be able to be 
Validated through an IE6 xml validator. 
Office 365 
Proceed with caution. If Microsoft locks master pages, this will become 
a lot more difficult to create.
Tables – Yup, I said it 
Okay, get it out of your system. Tables still exist in SharePoint and there is some 
information that should be presented in tables. Tables are hard to deal with and 
they are made to be rigid. 
For minor tables of information, we can use FooTable as an option. It is jQuery 
plug-in that will combine information from fields into an expandable container.
FooTable Example
VOILA
Live Examples 
CalGuard 
http://www.calguard.ca.gov
Additional Example 
San Jose Community College District 
http://www.sjeccd.edu/
QUESTIONS
Was made possible by the generous 
support of the following sponsors… 
And by your participation… Thank you!
Join us for the raffle & SharePint following the 
last session 
Be sure to fill out your eval form & 
turn in at the end of the day for a 
ticket to the BIG raffle!
THANK YOU

More Related Content

PPTX
Presentation on "An Introduction to ReactJS"
PPT
PPTX
Introduction to Spring Boot
PDF
Android webservices
PPTX
Introduction to Node js
PPTX
Bootstrap PPT by Mukesh
PPTX
Apache web server
Presentation on "An Introduction to ReactJS"
Introduction to Spring Boot
Android webservices
Introduction to Node js
Bootstrap PPT by Mukesh
Apache web server

What's hot (20)

PPT
RichControl in Asp.net
PPTX
Java script
PDF
React - Introdução
PDF
JavaScript Programming
PPTX
What is component in reactjs
PDF
Swagger With REST APIs.pptx.pdf
PDF
CSS3 Media Queries
PPT
Java Script ppt
PPTX
Bootstrap 5 ppt
PPT
PDF
Introduction to html 5
PPTX
Front-end development introduction (HTML, CSS). Part 1
PDF
Bootstrap
PPTX
Html5 and-css3-overview
PPTX
Bootstrap
PPT
Advanced SQL Injection
ODP
Apache ppt
PPT
Introduction to Cascading Style Sheets (CSS)
PPT
Apache
DOCX
html tags
RichControl in Asp.net
Java script
React - Introdução
JavaScript Programming
What is component in reactjs
Swagger With REST APIs.pptx.pdf
CSS3 Media Queries
Java Script ppt
Bootstrap 5 ppt
Introduction to html 5
Front-end development introduction (HTML, CSS). Part 1
Bootstrap
Html5 and-css3-overview
Bootstrap
Advanced SQL Injection
Apache ppt
Introduction to Cascading Style Sheets (CSS)
Apache
html tags
Ad

Viewers also liked (14)

PPTX
Themes & Composed Looks in SharePoint 2013 & O365
PDF
Responsive Web Design
PPTX
Intro to Design Manager
PPTX
Putting on your Design Bootstraps, Intro to Responsive Design in SharePoint
PPTX
sptc_presentation
PPTX
Content Management & Page Structure - Best Practices for Structuring Content ...
PDF
WordPress and Business Intelligence
PPTX
The Mobile Revolution
PDF
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
PPTX
The good, the bad, the ugly - Best Practices for Design in SharePoint
PPTX
Custom User Interface Creation with Content Types in Sharepoint 2013/O365
PPTX
Intro to design_manager
PPTX
Branding 101
PPTX
Branding 101 extended
Themes & Composed Looks in SharePoint 2013 & O365
Responsive Web Design
Intro to Design Manager
Putting on your Design Bootstraps, Intro to Responsive Design in SharePoint
sptc_presentation
Content Management & Page Structure - Best Practices for Structuring Content ...
WordPress and Business Intelligence
The Mobile Revolution
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
The good, the bad, the ugly - Best Practices for Design in SharePoint
Custom User Interface Creation with Content Types in Sharepoint 2013/O365
Intro to design_manager
Branding 101
Branding 101 extended
Ad

Similar to Bootstrap for Beginners (20)

PPTX
The A to Z of Building a Responsive SharePoint Site with Bootstrap
PPTX
SEF 2014 - Responsive Design in SharePoint 2013
PPT
Responsive web design
PPTX
Bootstrap Framework
PDF
Bootstrap for webtechnology_data science.pdf
PPTX
Bootstrap SLIDES for web development course
PDF
Introduction to Responsive Web Development
PPTX
Twitter bootstrap
PDF
Responsive Design and Bootstrap
PDF
Node.js 101
PPTX
Bootstrap how it can help you build better websites
PDF
Bootstrap Presentation Mitesh
PPTX
Intro to Bootstrap
PDF
Responsive design SharePoint
DOCX
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
PPTX
Twitter bootstrap1
PPTX
ICT Presentjrjdjdjdkkdkeeation Final.pptx
PDF
FITC - Bootstrap Unleashed
PDF
Building Responsive Websites with the Bootstrap 3 Framework
PPTX
Create Responsive Website Design with Bootstrap 3
The A to Z of Building a Responsive SharePoint Site with Bootstrap
SEF 2014 - Responsive Design in SharePoint 2013
Responsive web design
Bootstrap Framework
Bootstrap for webtechnology_data science.pdf
Bootstrap SLIDES for web development course
Introduction to Responsive Web Development
Twitter bootstrap
Responsive Design and Bootstrap
Node.js 101
Bootstrap how it can help you build better websites
Bootstrap Presentation Mitesh
Intro to Bootstrap
Responsive design SharePoint
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
Twitter bootstrap1
ICT Presentjrjdjdjdkkdkeeation Final.pptx
FITC - Bootstrap Unleashed
Building Responsive Websites with the Bootstrap 3 Framework
Create Responsive Website Design with Bootstrap 3

More from D'arce Hess (18)

PPTX
Collaboration from the Trenches : Building your Internal Communities with Mic...
PPTX
Microsoft Teams for Education
PDF
Collaboraton from the trenches
PPTX
Breaking down the Microsoft Teams Architecture 200
PPTX
Design your Modern Intranet using SharePoint PnP Design Assets
PPTX
Empowering Business Users with Flexible SharePoint Customization
PPTX
It's Alive! Bring your Intranet to Life with PowerApps and Flow
PPTX
Developing User-Friendly SPFx Web Parts with Governance In-Mind
PPTX
End User Adoption for the Real World
PPTX
Your Road to Modern Communication Sites
PPTX
Your Road to Communication Sites
PPTX
Content Management and Page Structure for SharePoint
PPTX
Your Road to Modern Communication Sites
PPTX
Good bad ugly_presentation
PPTX
Your Intranet, Your Way
PPTX
Your Intranet, Your Way
PPTX
Responsive Design & SharePoint - Is it right for you?
PPTX
The Mobile Revolution
Collaboration from the Trenches : Building your Internal Communities with Mic...
Microsoft Teams for Education
Collaboraton from the trenches
Breaking down the Microsoft Teams Architecture 200
Design your Modern Intranet using SharePoint PnP Design Assets
Empowering Business Users with Flexible SharePoint Customization
It's Alive! Bring your Intranet to Life with PowerApps and Flow
Developing User-Friendly SPFx Web Parts with Governance In-Mind
End User Adoption for the Real World
Your Road to Modern Communication Sites
Your Road to Communication Sites
Content Management and Page Structure for SharePoint
Your Road to Modern Communication Sites
Good bad ugly_presentation
Your Intranet, Your Way
Your Intranet, Your Way
Responsive Design & SharePoint - Is it right for you?
The Mobile Revolution

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Cloud computing and distributed systems.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Empathic Computing: Creating Shared Understanding
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
cuic standard and advanced reporting.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Cloud computing and distributed systems.
The Rise and Fall of 3GPP – Time for a Sabbatical?
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
cuic standard and advanced reporting.pdf
A Presentation on Artificial Intelligence
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation theory and applications.pdf

Bootstrap for Beginners

  • 1. Bootstrap for Beginners Your introduction to Responsive Design and SharePoint D’arce Hess SharePoint Interface Developer SharePoint Saturday New Hampshire #SPSNH – 10/18/2014
  • 2. The Test 1 .Back_Row{ 2 move to front 3 }
  • 3. For Coders 1 $(“tr:last”).each(function () { 2 moveForward(); 3 });
  • 4. Who am I? D’arce Hess Developer, Athlete and Musician Atrion Blog: www.thebrandingbutterfly.com Website: www.atrion.net Email: dhess@atrion.net @darcehess www.linkedin.com/in/darcehess/ http://www.youtube.com/user/DarceHess
  • 5. Agenda Introduction to Bootstrap Sass & LESS Responsive Design Boot Camp Integrating with SharePoint It’s a Bug’s Life Voila Questions
  • 7. What is Bootstrap? “Bootstrap is the most popular HTML, CSS and JS framework for developing responsive, mobile first projects on the web” Where to get it: http://getbootstrap.com/
  • 8. Why should we consider using it? Pros • Allows for faster prototyping • Grid has already been established • Easy to engage newer web developers • SASS and LESS Cons • Can be bloated • Some resets need to be made to work with SharePoint • May be too restrictive for experienced developers
  • 10. Our Mock Up • Keep it simple • Think Containers, Not Content
  • 12. DEMO
  • 13. How to break it down • Contains a container • Contains a row • Contains columns that equal to 12
  • 15. Rows Inside each container is a row. You can also have containers inside of a row (nested). A row equals 12 columns total.
  • 16. Columns Every row needs to have 12 columns You can split the columns in any division by 12
  • 17. How to know what column size to use You can add multiple classes to an element to adjust how it will display on different devices.
  • 18. The Box Model Bootstrap uses box-sizing: border-box; This means that padding does not affect the computed width of an element. SharePoint uses box-sizing: content-box; This means that if you add a border to an element it equals the element + 2px.
  • 19. Bootstrap Extras Glyphicons Dropdowns Button Dropdowns Several types of navigation Forms Pagination
  • 21. Sass Sass is a pre-processor for CSS English translation: You can now write CSS and compile the same way you would write regular code. Variables Compiles to Nesting
  • 22. Sass - continued Operators Do you remember your order of operations? Mixins
  • 23. Sass and Less Support Visual Studio Plug-ins Mindscape Web Workbench SassyStudio
  • 25. RWD History Lesson The term “Responsive Web Design” was coined by Ethan Marcotte in his article “A List Apart”. States that there are three requirements to implement Responsive Design: • CSS3 Media Queries • Fluid Grid • Flexible Images Three main types • Responsive Web Design • Adaptive Design • Progressive Enhancement (mobile-first)
  • 26. With great power…. Just because you can, doesn’t mean that you should! Time to think about the user experience: • Do you want your users to scroll forever when down on a mobile device? • That beautiful banner image and rotator do not add any value on a phone. • Mobile users are using data to load your site, size of images and files matters. Time to optimize. • Think of options for links and buttons to be easier to use for touch. • Remember, there is no hover functionality on a mobile device
  • 28. CodePlex – Responsive SharePoint To help get you started: This was a labor of love created by community members for Community members. http://responsivesharepoint.codeplex.com/
  • 29. Bring in the .Net controls Set up your frame the same and then bring in the webpart containers inside of your columns This is a page layout example
  • 30. Master Page Controls Master page
  • 31. MySites and Team Sites Both of these layouts us the “Wiki” page layout. These are out-of-the-box layouts that do not come with Publishing Features enabled. This means you cannot create a custom layout for these pages. You can make them responsive by adjusting the tables in the layout, but it is very difficult to do.
  • 33. Bootstrap 3 resets for SharePoint
  • 34. Browser Compatibility SharePoint 2010 SharePoint 2010 automatically reverts users to using IE8. You will need to plan on installing the following javascript libraries to emulate HTML5 and CSS3 properties • Respond.js • Modernizr • HTML5 shiv You will need to adjust your media queries
  • 35. Browser Compatibility - continued SharePoint 2013 SharePoint 2013 supports modern browsers staring with IE9+ <form> </form tag is not supported. If using Design Manager, all code must be able to be Validated through an IE6 xml validator. Office 365 Proceed with caution. If Microsoft locks master pages, this will become a lot more difficult to create.
  • 36. Tables – Yup, I said it Okay, get it out of your system. Tables still exist in SharePoint and there is some information that should be presented in tables. Tables are hard to deal with and they are made to be rigid. For minor tables of information, we can use FooTable as an option. It is jQuery plug-in that will combine information from fields into an expandable container.
  • 38. VOILA
  • 39. Live Examples CalGuard http://www.calguard.ca.gov
  • 40. Additional Example San Jose Community College District http://www.sjeccd.edu/
  • 42. Was made possible by the generous support of the following sponsors… And by your participation… Thank you!
  • 43. Join us for the raffle & SharePint following the last session Be sure to fill out your eval form & turn in at the end of the day for a ticket to the BIG raffle!