SlideShare a Scribd company logo
1 of 1
Download to read offline
html
SPAN CLASSES
Use these classes to set the                                                                                                                             reset.css
width of a column
                                                                                                                                                         grid.css
span-1           span-13
span-2           span-14                                                                                                                                 typography.css

                                                                                                                         v.0.7.1
span-3           span-15
                                                                                                                                                         forms.css
                                   Blueprint CSS version 0.7.1 (http://code.google.com/p/blueprintcss/)
span-4           span-16
                                   Copyright © 2007-2008 Olav Bjorkoy (http://bjorkoy.com)
                                                                                                                                                         ie.css
                                   Cheat sheet v.1.1 by Gareth J M Saunders, based on Help Sheet v.0.3 by Alejandro Vasquez
span-5           span-17
span-6           span-18
                                   STYLESHEET LINK                                                                                              RESET
span-7           span-19
                                   Download the latest version from http://code.google.com/p/blueprintcss/ and add these lines into the         Blueprint CSS resets all
                                   <head> of your page. Check that your href path is correct.                                                   browsers’ default tags to :
span-8           span-20
                                                                                                                                                - margin, padding, border: 0
span-9           span-21                       <link rel=quot;stylesheetquot; href=quot;blueprint/screen.cssquot; type=quot;text/cssquot;                               - font-size: 100%
                                                  media=quot;screen, projectionquot;>                                                                   - font-weight: normal
span-10          span-22                       <link rel=quot;stylesheetquot; href=quot;blueprint/print.cssquot; type=quot;text/cssquot;                                - other font values: inherit
                                                  media=quot;printquot;>                                                                                - image borders: 0
span-11          span-23
                                               <!--[if IE]>
                                               <link rel=quot;stylesheetquot; href=quot;blueprint/ie.cssquot; type=quot;text/cssquot;
span-12          span-24                                                                                                                        Tables still need
                                                  media=quot;screen, projectionquot;>                                                                   “cellspacing=“0” in the mark-
                                               <![endif]-->                                                                                     up though.
APPEND CLASSES
                                   USAGE                                                  TYPOGRAPHY                                            TYPOGRAPHY CLASSES
Add these to a column to
append empty columns.              <body>                                                 typographic.css sets up some sensible default         These classes are defined in
                                      <div class=“container”>                             typography. The font-size percentage is of 16px       the typography.css file. Other
append-1         append-13
                                         <div class=“span-15”>                            (0.75 * 16px = 12 px). Line-heights and vertical      typographic tags as also
                                             <p>Column 1</p>                              margins are automatically calculated from this in     redefined in this file.
append-2         append-14
                                          </div>                                          ems.
                                                                                                                                                .small            0.8em; line 1.875
append-3         append-15               <div class=“span-6 last”>
                                             <p>Column 2</p>                              The base line-height is 18px (1.5ems). This           .large            1.2em; line 2.5
append-4         append-16                </div>                                          means that every element, from line-heights to
                                       </div>                                             images have a height that is a multiple of 18 (or     .hide             display: none
append-5         append-17
                                   </body>                                                1.5 if you use ems).
                                                                                                                                                .quiet            color 666 (grey)
append-6         append-18
                                   div.span-x now implies a column. Remember              Color is #222 (dark grey); font-family is
                                                                                                                                                .loud             color 000 (black)
append-7         append-19         to use “last” for the last column of the row to        “Helvetica Neue”, “Helvetica”, “Arial”, sans-serif;
                                   avoid it jumping to the next row. Columns can          Also defines tables, lists and misc. classes.         .highlight        bg ff0 (yellow)
append-8         append-20         be nested inside one another.
                                                                                                                                                .added            bg 060 (green)
append-9         append-21
                                                                                                                                                .removed          bg 900 (red)
append-10        append-22         GRID
                                                                                                                                                .first            mL 0; pL 0
append-11        append-23         If you need more or fewer columns use this formula to find the new total width:
                                   total width = (columns *40) - 10                                                                             .last             mR 0; pR 0
append-12
                                                                             950px (24 columns)                                                 .top              mT 0; pT 0
PREPEND CLASSES                                                                                                                                 .bottom           mB 0; pB 0
Add these to a column to
prepend empty columns.                                                                                                                          FORMS
prepend-1        prepend-13                                                                                                                     These are defined in the
                                                                                                                                                forms.css file.
prepend-2        prepend-14
                                                                   750px (19 columns)                                                           .error            red framed box
prepend-3        prepend-15
                                                                     790px (20 columns)                                                         .notice           yellow framed box
prepend-4        prepend-16
                                                                                                                                                .success          green framed box
                                                                       830px (21 columns)
prepend-5        prepend-17
                                                                         870px (22 columns)                                                     input.text        w 300px pad 5px
prepend-6        prepend-18
                                                                           910px (23 columns)                                                   input.title font-size 1.5em
prepend-7        prepend-19
                                                                                                                                                textarea          w 390px h 250px
prepend-8        prepend-20
                                   GRID CLASSES                                                                                                 select            w 200px
prepend-9        prepend-21
                                   .container           A container should group all your columns; use on <div>.                                label             bold
prepend-10       prepend-22
                                   .showgrid            Use this on any div.span / container to see the grid.                                   fieldset          padding 1.4em
prepend-11       prepend-23
                                   .border              Shows a border on the right hand side of a column; use on <div>.                        legend            font-size 1.2em
prepend-12
                                   .colborder           Shows a border with more whitespace, spans one column; use on <div>.
                                                                                                                                                IE FIXES
                                   .box                 Creates a padded box inside a column. (padding: 1.5em; margin-bottom: 1.5em;).
PUSH/PULL CLASSES
                                                                                                                                                ie.css contains every hack for
                                   hr.space             Use this to create a horizontal ruler across a column; can also simply use <hr />.
Use these classes on an                                                                                                                         Internet Explorer.
element to push it into the        .clear               Regular clearing, apply to column that should drop below previous ones.
                                                                                                                                                IE All            Fix margin bugs
next column, or pull it into the
previous column.                   .clearfix            Clearing floats without extra markup.
                                                                                                                                                                  Line height on
                                                                                                                                                                  sub/sup
push-0                             div.last             The last column in a row needs this class; use on <div>.
                                                                                                                                                IE 5              Centre layout
push-1           pull-1            div.span-x           Use these classes to set the width of a column; x = 1-24; use on <div>.
                                                                                                                                                IE 6              Fix legend bug
push-2           pull-2            .append-x            Add these to a column to append empty columns; x = 1-23.
                                                                                                                                                IE 6 & 7          Fix <ol> numbers
push-3           pull-3            .prepend-x           Add these to a column to prepend empty columns; x = 1-23.
                                                                                                                                                                  Fix <hr/> margins
push-4           pull-4            .push-x              Use these classes on an element to push it into the next column; x = 0-5.
push-5           pull-5            .pull-x              Use these classes on an element to pull it into the next column; x = 1-5.               IE 7              Fix <code> wrap

More Related Content

Similar to this is ruby test

Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
Even Wu
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Started
edgincvg
 
Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)
elliando dias
 
How do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksHow do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML Tricks
Compare Infobase Limited
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
Joao Lucas Santana
 

Similar to this is ruby test (20)

Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Started
 
Landing Pages 101
Landing Pages 101Landing Pages 101
Landing Pages 101
 
CSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsCSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and Cons
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
Think Vitamin CSS
Think Vitamin CSSThink Vitamin CSS
Think Vitamin CSS
 
Assembling Sass
Assembling SassAssembling Sass
Assembling Sass
 
Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)
 
Theming and Sass
Theming and SassTheming and Sass
Theming and Sass
 
What I discovered about layout vis CSS Grid
What I discovered about layout vis CSS GridWhat I discovered about layout vis CSS Grid
What I discovered about layout vis CSS Grid
 
Basics of Rich Internet Applications
Basics of Rich Internet ApplicationsBasics of Rich Internet Applications
Basics of Rich Internet Applications
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
How do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksHow do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML Tricks
 
Web Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosWeb Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaos
 
Palestra pré processadores CSS
Palestra pré processadores CSSPalestra pré processadores CSS
Palestra pré processadores CSS
 
LESS : The dynamic stylesheet language
LESS : The dynamic stylesheet languageLESS : The dynamic stylesheet language
LESS : The dynamic stylesheet language
 
Intro to SASS CSS
Intro to SASS CSSIntro to SASS CSS
Intro to SASS CSS
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
 

More from 51 lecture (20)

1244600439API2 upload
1244600439API2 upload1244600439API2 upload
1244600439API2 upload
 
1242982622API2 upload
1242982622API2 upload1242982622API2 upload
1242982622API2 upload
 
1242982374API2 upload
1242982374API2 upload1242982374API2 upload
1242982374API2 upload
 
1242626441API2 upload
1242626441API2 upload1242626441API2 upload
1242626441API2 upload
 
1242625986my upload
1242625986my upload1242625986my upload
1242625986my upload
 
1242361147my upload ${file.name}
1242361147my upload ${file.name}1242361147my upload ${file.name}
1242361147my upload ${file.name}
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is test api2
this is test api2this is test api2
this is test api2
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Stress Management
Stress Management Stress Management
Stress Management
 
Iim A Managment
Iim A ManagmentIim A Managment
Iim A Managment
 
Time Management
Time ManagementTime Management
Time Management
 
Conversation By Design
Conversation By DesignConversation By Design
Conversation By Design
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
dynamics-of-wikipedia-1196670708664566-3
dynamics-of-wikipedia-1196670708664566-3dynamics-of-wikipedia-1196670708664566-3
dynamics-of-wikipedia-1196670708664566-3
 
Tech_Implementation of Complex ITIM Workflows
Tech_Implementation of Complex ITIM WorkflowsTech_Implementation of Complex ITIM Workflows
Tech_Implementation of Complex ITIM Workflows
 
javascript reference
javascript referencejavascript reference
javascript reference
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

this is ruby test

  • 1. html SPAN CLASSES Use these classes to set the reset.css width of a column grid.css span-1 span-13 span-2 span-14 typography.css v.0.7.1 span-3 span-15 forms.css Blueprint CSS version 0.7.1 (http://code.google.com/p/blueprintcss/) span-4 span-16 Copyright © 2007-2008 Olav Bjorkoy (http://bjorkoy.com) ie.css Cheat sheet v.1.1 by Gareth J M Saunders, based on Help Sheet v.0.3 by Alejandro Vasquez span-5 span-17 span-6 span-18 STYLESHEET LINK RESET span-7 span-19 Download the latest version from http://code.google.com/p/blueprintcss/ and add these lines into the Blueprint CSS resets all <head> of your page. Check that your href path is correct. browsers’ default tags to : span-8 span-20 - margin, padding, border: 0 span-9 span-21 <link rel=quot;stylesheetquot; href=quot;blueprint/screen.cssquot; type=quot;text/cssquot; - font-size: 100% media=quot;screen, projectionquot;> - font-weight: normal span-10 span-22 <link rel=quot;stylesheetquot; href=quot;blueprint/print.cssquot; type=quot;text/cssquot; - other font values: inherit media=quot;printquot;> - image borders: 0 span-11 span-23 <!--[if IE]> <link rel=quot;stylesheetquot; href=quot;blueprint/ie.cssquot; type=quot;text/cssquot; span-12 span-24 Tables still need media=quot;screen, projectionquot;> “cellspacing=“0” in the mark- <![endif]--> up though. APPEND CLASSES USAGE TYPOGRAPHY TYPOGRAPHY CLASSES Add these to a column to append empty columns. <body> typographic.css sets up some sensible default These classes are defined in <div class=“container”> typography. The font-size percentage is of 16px the typography.css file. Other append-1 append-13 <div class=“span-15”> (0.75 * 16px = 12 px). Line-heights and vertical typographic tags as also <p>Column 1</p> margins are automatically calculated from this in redefined in this file. append-2 append-14 </div> ems. .small 0.8em; line 1.875 append-3 append-15 <div class=“span-6 last”> <p>Column 2</p> The base line-height is 18px (1.5ems). This .large 1.2em; line 2.5 append-4 append-16 </div> means that every element, from line-heights to </div> images have a height that is a multiple of 18 (or .hide display: none append-5 append-17 </body> 1.5 if you use ems). .quiet color 666 (grey) append-6 append-18 div.span-x now implies a column. Remember Color is #222 (dark grey); font-family is .loud color 000 (black) append-7 append-19 to use “last” for the last column of the row to “Helvetica Neue”, “Helvetica”, “Arial”, sans-serif; avoid it jumping to the next row. Columns can Also defines tables, lists and misc. classes. .highlight bg ff0 (yellow) append-8 append-20 be nested inside one another. .added bg 060 (green) append-9 append-21 .removed bg 900 (red) append-10 append-22 GRID .first mL 0; pL 0 append-11 append-23 If you need more or fewer columns use this formula to find the new total width: total width = (columns *40) - 10 .last mR 0; pR 0 append-12 950px (24 columns) .top mT 0; pT 0 PREPEND CLASSES .bottom mB 0; pB 0 Add these to a column to prepend empty columns. FORMS prepend-1 prepend-13 These are defined in the forms.css file. prepend-2 prepend-14 750px (19 columns) .error red framed box prepend-3 prepend-15 790px (20 columns) .notice yellow framed box prepend-4 prepend-16 .success green framed box 830px (21 columns) prepend-5 prepend-17 870px (22 columns) input.text w 300px pad 5px prepend-6 prepend-18 910px (23 columns) input.title font-size 1.5em prepend-7 prepend-19 textarea w 390px h 250px prepend-8 prepend-20 GRID CLASSES select w 200px prepend-9 prepend-21 .container A container should group all your columns; use on <div>. label bold prepend-10 prepend-22 .showgrid Use this on any div.span / container to see the grid. fieldset padding 1.4em prepend-11 prepend-23 .border Shows a border on the right hand side of a column; use on <div>. legend font-size 1.2em prepend-12 .colborder Shows a border with more whitespace, spans one column; use on <div>. IE FIXES .box Creates a padded box inside a column. (padding: 1.5em; margin-bottom: 1.5em;). PUSH/PULL CLASSES ie.css contains every hack for hr.space Use this to create a horizontal ruler across a column; can also simply use <hr />. Use these classes on an Internet Explorer. element to push it into the .clear Regular clearing, apply to column that should drop below previous ones. IE All Fix margin bugs next column, or pull it into the previous column. .clearfix Clearing floats without extra markup. Line height on sub/sup push-0 div.last The last column in a row needs this class; use on <div>. IE 5 Centre layout push-1 pull-1 div.span-x Use these classes to set the width of a column; x = 1-24; use on <div>. IE 6 Fix legend bug push-2 pull-2 .append-x Add these to a column to append empty columns; x = 1-23. IE 6 & 7 Fix <ol> numbers push-3 pull-3 .prepend-x Add these to a column to prepend empty columns; x = 1-23. Fix <hr/> margins push-4 pull-4 .push-x Use these classes on an element to push it into the next column; x = 0-5. push-5 pull-5 .pull-x Use these classes on an element to pull it into the next column; x = 1-5. IE 7 Fix <code> wrap