Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Responsive Design UCSD System Administrator Mee...

bpollak
March 13, 2013

Responsive Design UCSD System Administrator Meeting

bpollak

March 13, 2013
Tweet

More Decks by bpollak

Other Decks in Technology

Transcript

  1. • Single text column using HTML • Mostly text and

    hyperlinks • Embedded images around 1994 EARLY 1990S WEB DESIGN
  2. • Table-based layouts allowed for multiple columns • Websites were

    a combination of sliced images and HTML MID 1990S WEB DESIGN ucsd.edu in 1995
  3. Over the past year we’ve averaged a .5% increase in

    mobile traffic per month to the campus home page.
  4. • Built using Objective C (Apple) or Java (Android) •

    User downloads app to the phone • Deploying Apps means having staff learn the technology that powers each platform • Can use a code builder such as Titanium or Phonegap APP STORE
  5. (m.university.edu) • Separate site where layout and content are geared

    specifically to mobile devices • HTML, CSS, JavaScript usually designed for smaller screen sizes • Frameworks include Kurogu, Mobile Web Framework, JQuery Mobile, etc. MOBILE SITE
  6. • One website who’s layout automatically conforms to the resolution

    of the device accessing the site • One set of code to maintain • Cross platform: works on all modern browsers • Frameworks include Twitter Bootstrap, Foundation3, HTML5 Boilerplate, etc. RESPONSIVE WEBSITE
  7. Student Affairs IT Academic Affairs IT Housing & Dining IT

    Libraries IT Admin Computing Academic Computing Colleges IT
  8. Viewport <meta content="initial-scale=1.0" name="viewport"/> • Mobile browsers render site at

    a larger width than the actual device width • By using the viewport scale, we can set to default viewport width, rather than a simulated width
  9. Media Queries body { background-color: #FFF; color: #333; } @media

    screen and (max-width: 768px) { body { background-color: #333; color: #FFF; } } CSS3 @media
  10. Fluid Images We can accomplish this by setting all images

    to have a max width of 100% Images should flex with your layout
  11. DON’T AVOID: The use of tables. Especially for layout! DO:

    Use DIV’s and CSS instead. IF YOU MUST: Make sure they’re capable of flexing. Use tables for what they were intended to do, tabular data!
  12. DO: Analyze and rethink your content if necessary. “LESS IS

    MORE” DON’T: Create visual clutter
  13. TWO PRIMARY TYPES • Grid layout frameworks – 1140 CSS

    Grid – HTML5 Boilerplate • Grid layout + UI Library – Twitter Bootstrap – Foundation 3 (By Zurb) Responsive Frameworks
  14. • Responsive grid • Normalizing CSS • Polyfills for older

    browsers WHAT IT TYPICALLY INCLUDES Grid Layout Frameworks
  15. WHAT IT TYPICALLY INCLUDES • Responsive grid • Normalizing CSS

    • Polyfills for older browsers • UI libraries – Navigation – Form elements – Etc. Grid Layout Frameworks + UI Library
  16. WHAT IT INCLUDES • Responsive layout • Polyfills for older

    browsers • UI libraries (Kitchen Sink) – Navigation – Form elements – Etc. • UC San Diego branding & CWO Support CWO Decorator & Templates