SlideShare a Scribd company logo
1 of 14





CSS
SASS
gem ‘foundation-rails’
rails g foundation:install






Small screens – (max-width 640px)
Medium screens – (min-width 641px and
max-width 1024px)
Large screens – (min-width 1024px and
max-width 1440px)
XLarge screens – (min-width 1441px and
max-width 1920px)
XXLarge screens – (min-width 1921px)
Imagine your website is a table of
 Rows
 Columns
<div class="row">
<div class="small-2 large-4 columns"></div>
<div class="small-4 large-4 columns"></div>
<div class="small-6 large-4 columns"></div>
</div>
<div class="row">
<div class="large-3 columns">..</div>
<div class="large-6 columns">..</div>
<div class="large-3 columns">..</div>
</div>
Columns width in Large screen size

Columns width in Small screen size
<div class="row">
<div class="large-1 columns">1</div>
<div class="large-11 columns">11</div>
</div>
<div class="row">
<div class="large-1 columns">1</div>
<div class="large-10 large-offset-1 columns">10,
offset 1</div>
</div>


Show by screen size

<strong class="show-for-small-only">This text is
shown only on a small screen.</strong>
<strong class="show-for-large-only">This text is
shown only on a large screen.</strong>


Hide by screen size

<strong class="hide-for-small-only">You are not on a
small screen.</strong>
<strong class="hide-for-large-only">You are not on a
large screen.</strong>


Touch Detection

<strong class="show-for-touch">You are on a touchenabled device.</strong>
<strong class="hide-for-touch">You are not on a touchenabled device.</strong>





Speedup develop
Works on different browsers
Displays on many devices
Follows a table format
Thank You

More Related Content

Similar to Yatish foundation

bootstrap.pptx
bootstrap.pptxbootstrap.pptx
bootstrap.pptxLibin51
 
Working with SASS/Compass and Zurb Foundation
Working with SASS/Compass and Zurb FoundationWorking with SASS/Compass and Zurb Foundation
Working with SASS/Compass and Zurb FoundationClint Robinson
 
The Future of Web Development
The Future of Web DevelopmentThe Future of Web Development
The Future of Web DevelopmentWilson Su
 
Web I - 07 - CSS Frameworks
Web I - 07 - CSS FrameworksWeb I - 07 - CSS Frameworks
Web I - 07 - CSS FrameworksRandy Connolly
 
Bootstrap 3 training
Bootstrap 3 trainingBootstrap 3 training
Bootstrap 3 trainingVison Sunon
 
Bootstrap grid system
Bootstrap grid systemBootstrap grid system
Bootstrap grid systemAmr Salman
 
Bootstrap과 UI-Bootstrap
Bootstrap과 UI-BootstrapBootstrap과 UI-Bootstrap
Bootstrap과 UI-BootstrapWebFrameworks
 
Responsive web design
Responsive web designResponsive web design
Responsive web designNetcetera
 
Responsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get StartedResponsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get Startedjennybchicken
 
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}Eric Carlisle
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web DesignDebra Shapiro
 
"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim Makeev"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim MakeevFwdays
 
Responsive web design
Responsive web designResponsive web design
Responsive web designBen MacNeill
 
Joomla 3 templates and rtl
Joomla 3 templates and rtlJoomla 3 templates and rtl
Joomla 3 templates and rtlyairl
 

Similar to Yatish foundation (20)

Bootstrap Framework
Bootstrap Framework Bootstrap Framework
Bootstrap Framework
 
bootstrap.pptx
bootstrap.pptxbootstrap.pptx
bootstrap.pptx
 
Intro to Bootstrap
Intro to BootstrapIntro to Bootstrap
Intro to Bootstrap
 
Bootstrap
Bootstrap Bootstrap
Bootstrap
 
Working with SASS/Compass and Zurb Foundation
Working with SASS/Compass and Zurb FoundationWorking with SASS/Compass and Zurb Foundation
Working with SASS/Compass and Zurb Foundation
 
The Future of Web Development
The Future of Web DevelopmentThe Future of Web Development
The Future of Web Development
 
Web I - 07 - CSS Frameworks
Web I - 07 - CSS FrameworksWeb I - 07 - CSS Frameworks
Web I - 07 - CSS Frameworks
 
CSS
CSSCSS
CSS
 
Bootstrap 3 training
Bootstrap 3 trainingBootstrap 3 training
Bootstrap 3 training
 
Css responsive
Css responsiveCss responsive
Css responsive
 
Bootstrap grid system
Bootstrap grid systemBootstrap grid system
Bootstrap grid system
 
Bootstrap과 UI-Bootstrap
Bootstrap과 UI-BootstrapBootstrap과 UI-Bootstrap
Bootstrap과 UI-Bootstrap
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get StartedResponsive Web Design - What You Need to Know to Get Started
Responsive Web Design - What You Need to Know to Get Started
 
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
 
SMACSS Workshop
SMACSS WorkshopSMACSS Workshop
SMACSS Workshop
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim Makeev"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim Makeev
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Joomla 3 templates and rtl
Joomla 3 templates and rtlJoomla 3 templates and rtl
Joomla 3 templates and rtl
 

Yatish foundation