SlideShare a Scribd company logo
Making your own CSS Framework
Why Make One?  
It’s easier for.. Designers Coders Quick deployment Future upgradability Accessibility Your users Managing far more sites
Who am I? I don’t do much coding anymore… I don’t need to.
Under Pressure In one of the largest colleges at the U of M Managing around 200 web sites Size of web team going from 5, down to 2 Uncertain of future capacity
What were our priorities? Flexible Horizontal and vertical navs Individuality: Different colors and pictures Accessible Use H tags correctly, and consistently Jump to content and nav is consistent Interchangeable Can pull one piece out of a site, and drop it into another… easily
Weighing our needs Where is the balance between flexibility, and time constraint? Is there anything you are sure will be on every page? What do you suspect will be on every page?
What’s the same on every page? Logos Banners Page width Search Footer Nav (kind of) content
Getting Started  
 
 
 
 
 
 
 
 
 
 
 
Wow, what an ugly site!
 
 
 
 
 
Building in the frame Building those main boxes you use all the time Header Footer nav
1 st  Step -CSS Reset- h1, p, div, ul, li  { margin: 0; padding: 0; border: 0;  }
The Container div#container { width: 960px; margin: 0 auto; text-align: left; }
Department Header div#header { width: 960px; }
U of M Header div#UMNheader { width: 960px; }
Navigation and Content div#nav { width: 210px; float: left; } div#content { width: 750px; float: left; }
Footer div#footer { width: 960px; }
Margins
Building the flexible parts Columns div.half  { width: 360px; float: left; } div.third { width: 240px; float: left; } Content Styling div#content p { margin:10px 25px; padding:0; } div#content  ul { margin:10px 25px  10px 25px; padding:0; list-style-type:disc; }
 
Wow… that’s really ugly.
 
 
The base of your framework: CSS Reset Structural elements (the box model) To future proof, make them match HTML5 Major accessibility pieces Tex styles Image Styles Columns for layout (furthering the box model) A basic print style sheet
Keep out of the framework Colors Images Header images Background images Stylization of the nav
 
Make some widgets (don’t sweat the small stuff)
 
 
 
Design freedom
 
 
 
How to do it wrong … or “My first version”
Version 1 Too Constricting, No Individuality
Version 1 Too Constricting, No Individuality
Version 1 Too Constricting, No Individuality
To reiterate, it’s easier for.. Designers Coders Quick deployment Future upgradability Accessibility Your users Managing far more sites
Once you’ve got the basics… add some flare…
Interchangeable flare Emphasis Boxes Pop up video boxes Slide shows Like office space “Flare”
Questions? @dansag [email_address]
Contact me… Twitter: @dansag Email: dansag@umn.edu Resources… The CSS Framework http://intranet.cehd.umn.edu/demos/dan/MWC2011/core2011.css Example page http://intranet.cehd.umn.edu/demos/dan/MWC2011/default.html CSS Reset http://meyerweb.com/eric/tools/css/reset/
Ad

Recommended

Designing an Enterprise CSS Framework is Hard, Stephanie Rewis
Designing an Enterprise CSS Framework is Hard, Stephanie Rewis
Future Insights
 
Roll Your Own CSS Framework
Roll Your Own CSS Framework
Mike Aparicio
 
How to develop a CSS Framework
How to develop a CSS Framework
Olivier Besson
 
CSS3 Media Queries
CSS3 Media Queries
Russ Weakley
 
Lightning fast sass
Lightning fast sass
chriseppstein
 
Responsive Websites
Responsive Websites
Joe Seifi
 
Responsive Web Design with HTML5 and CSS3
Responsive Web Design with HTML5 and CSS3
Kannika Kong
 
Future proof rwd
Future proof rwd
Adam Chambers
 
Controlling Web Typography
Controlling Web Typography
Trent Walton
 
Responsive design
Responsive design
Hock Leng PUAH
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
Nathan Smith
 
Responsive & Responsible Web Design in DNN
Responsive & Responsible Web Design in DNN
gravityworksdd
 
Responsive Web Design
Responsive Web Design
Debra Shapiro
 
Bootstrap Framework
Bootstrap Framework
Yaowaluck Promdee
 
CSS Systems
CSS Systems
Natalie Downe
 
Client responsive design
Client responsive design
shmulik-tal
 
CSS in React
CSS in React
Joe Seifi
 
Responsive Web Design: Tips and Tricks
Responsive Web Design: Tips and Tricks
Gautam Krishnan
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...
Andreas Bovens
 
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
The University of Akron
 
CSS in React - The Good, The Bad, and The Ugly
CSS in React - The Good, The Bad, and The Ugly
Joe Seifi
 
CSS Reset
CSS Reset
Russ Weakley
 
새로운 웹 스타일링, 안 본 사람 없게 해주세요
새로운 웹 스타일링, 안 본 사람 없게 해주세요
NAVER Engineering
 
Responsive Web Design
Responsive Web Design
Sayanee Basu
 
Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3
Pascal Rettig
 
SVG For Web Designers (and Developers)
SVG For Web Designers (and Developers)
Sara Soueidan
 
Intro to CSS3
Intro to CSS3
Denise Jacobs
 
Learn svg
Learn svg
FitBlar Mit
 
Grid system introduction
Grid system introduction
ananda gunadharma
 
Inkscape for web and UI mockups
Inkscape for web and UI mockups
Donna Benjamin
 

More Related Content

What's hot (20)

Controlling Web Typography
Controlling Web Typography
Trent Walton
 
Responsive design
Responsive design
Hock Leng PUAH
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
Nathan Smith
 
Responsive & Responsible Web Design in DNN
Responsive & Responsible Web Design in DNN
gravityworksdd
 
Responsive Web Design
Responsive Web Design
Debra Shapiro
 
Bootstrap Framework
Bootstrap Framework
Yaowaluck Promdee
 
CSS Systems
CSS Systems
Natalie Downe
 
Client responsive design
Client responsive design
shmulik-tal
 
CSS in React
CSS in React
Joe Seifi
 
Responsive Web Design: Tips and Tricks
Responsive Web Design: Tips and Tricks
Gautam Krishnan
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...
Andreas Bovens
 
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
The University of Akron
 
CSS in React - The Good, The Bad, and The Ugly
CSS in React - The Good, The Bad, and The Ugly
Joe Seifi
 
CSS Reset
CSS Reset
Russ Weakley
 
새로운 웹 스타일링, 안 본 사람 없게 해주세요
새로운 웹 스타일링, 안 본 사람 없게 해주세요
NAVER Engineering
 
Responsive Web Design
Responsive Web Design
Sayanee Basu
 
Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3
Pascal Rettig
 
SVG For Web Designers (and Developers)
SVG For Web Designers (and Developers)
Sara Soueidan
 
Intro to CSS3
Intro to CSS3
Denise Jacobs
 
Learn svg
Learn svg
FitBlar Mit
 
Controlling Web Typography
Controlling Web Typography
Trent Walton
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
Nathan Smith
 
Responsive & Responsible Web Design in DNN
Responsive & Responsible Web Design in DNN
gravityworksdd
 
Responsive Web Design
Responsive Web Design
Debra Shapiro
 
Client responsive design
Client responsive design
shmulik-tal
 
CSS in React
CSS in React
Joe Seifi
 
Responsive Web Design: Tips and Tricks
Responsive Web Design: Tips and Tricks
Gautam Krishnan
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...
Andreas Bovens
 
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
The University of Akron
 
CSS in React - The Good, The Bad, and The Ugly
CSS in React - The Good, The Bad, and The Ugly
Joe Seifi
 
새로운 웹 스타일링, 안 본 사람 없게 해주세요
새로운 웹 스타일링, 안 본 사람 없게 해주세요
NAVER Engineering
 
Responsive Web Design
Responsive Web Design
Sayanee Basu
 
Vector Graphics on the Web: SVG, Canvas, CSS3
Vector Graphics on the Web: SVG, Canvas, CSS3
Pascal Rettig
 
SVG For Web Designers (and Developers)
SVG For Web Designers (and Developers)
Sara Soueidan
 

Viewers also liked (8)

Grid system introduction
Grid system introduction
ananda gunadharma
 
Inkscape for web and UI mockups
Inkscape for web and UI mockups
Donna Benjamin
 
Lessons Learned From Building Your Own CSS Framework
Lessons Learned From Building Your Own CSS Framework
sonniesedge
 
Media queries and frameworks
Media queries and frameworks
Nicole Ryan
 
Seven Steps to Creating a Framework
Seven Steps to Creating a Framework
Rob Philibert
 
Foundation: Prototype to Production
Foundation: Prototype to Production
ZURB
 
Responsive Design & CSS Frameworks
Responsive Design & CSS Frameworks
G C
 
Atomic design
Atomic design
Brad Frost
 
Inkscape for web and UI mockups
Inkscape for web and UI mockups
Donna Benjamin
 
Lessons Learned From Building Your Own CSS Framework
Lessons Learned From Building Your Own CSS Framework
sonniesedge
 
Media queries and frameworks
Media queries and frameworks
Nicole Ryan
 
Seven Steps to Creating a Framework
Seven Steps to Creating a Framework
Rob Philibert
 
Foundation: Prototype to Production
Foundation: Prototype to Production
ZURB
 
Responsive Design & CSS Frameworks
Responsive Design & CSS Frameworks
G C
 
Ad

Similar to Making Your Own CSS Framework (20)

Css group
Css group
Leslie Steele
 
Css group
Css group
Leslie Steele
 
Css group
Css group
Sonia Leng
 
01 Introduction To CSS
01 Introduction To CSS
crgwbr
 
Slice and Dice
Slice and Dice
Doncho Minkov
 
Web programming css
Web programming css
Uma mohan
 
David Weliver
David Weliver
Philip Taylor
 
Web design-workflow
Web design-workflow
Peter Kaizer
 
Roadmap 01
Roadmap 01
quangnv17071980
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
 
CSS For Coders
CSS For Coders
ggfergu
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
The Future State of Layout
The Future State of Layout
Stephen Hay
 
Designing CSS Layouts for the Flexible Web
Designing CSS Layouts for the Flexible Web
Zoe Gillenwater
 
Stepping into the front end: Part 1
Stepping into the front end: Part 1
Tahin Rahman
 
How to get a serious front end designer job
How to get a serious front end designer job
Karlis Upitis
 
Http _css-tricks
Http _css-tricks
Daniel Downs
 
Web Building Blocks
Web Building Blocks
joegilbert
 
Introduction to CSS3
Introduction to CSS3
Doris Chen
 
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
WordCamp Sydney
 
01 Introduction To CSS
01 Introduction To CSS
crgwbr
 
Web programming css
Web programming css
Uma mohan
 
Web design-workflow
Web design-workflow
Peter Kaizer
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
 
CSS For Coders
CSS For Coders
ggfergu
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
The Future State of Layout
The Future State of Layout
Stephen Hay
 
Designing CSS Layouts for the Flexible Web
Designing CSS Layouts for the Flexible Web
Zoe Gillenwater
 
Stepping into the front end: Part 1
Stepping into the front end: Part 1
Tahin Rahman
 
How to get a serious front end designer job
How to get a serious front end designer job
Karlis Upitis
 
Web Building Blocks
Web Building Blocks
joegilbert
 
Introduction to CSS3
Introduction to CSS3
Doris Chen
 
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
Getting to Grips with Firebug - Anthony Hortin - WordCamp Sydney
WordCamp Sydney
 
Ad

Recently uploaded (20)

Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 

Making Your Own CSS Framework

Editor's Notes

  • #3: You separate out all the deeper understanding of CSS from the design. Even if you your self are doing the design, you don’t have to Make a new design every time Figure out how to modify an existing design Get stuck with a new design You can effectively start form scratch, with a big head start
  • #5: I’m an Information Architect and Project Manager I don’t code as much anymore, because I don’t really need to.. The designer does the designs… and puts in codes for colors and making it look pretty the designer doesn't need to have in depth coding ability… that got done years ago
  • #8: A really cool design, vs having the time to take care of everyone Example: like a header, footer, search, or nav Example: breadcrumbs, columned text, videos, expanding nav
  • #28: Hey look, they’re the same as HTML5 !
  • #37: This is about what you’re left with… it’s the CSS box model….
  • #38: So that’s ugly right? But from there you build it into beautiful sites by putting design and individuality on top of the boxes.
  • #39: Like this exmaple…
  • #40: That template with just the colors is a little too blank for some, so you can expand on it as well… This is a more detailed template, you can still modify it just as much, you’ll just have to do a lot of deleting and changing first, to turn it into your own design.
  • #41: Make it match html 5, or better yet, just do it in HTML5… this version has css reset for html 5 Keeping H tags in order, as well as consistent “jump to” Text styles: do them right here, don’t worry about them later Image styles, if you’re going to use em, have a good basis to start…. Most of the time you won’t need to chage them later, but if you do, you’ll have a good start to it
  • #42: Here is the list of what should be in the core One I didn’t mention before is image styles Print style sheet is good so you can knock out the navigation… if you want to do that, and make the content areas wider But that leads to what to leave out… the design
  • #58: The flare Emph boxes http://www.cehd.umn.edu/ssw/Current/financial-aid/default.asp Pop up video box http://www.cehd.umn.edu/ci/ Slide show http://www.cehd.umn.edu/alumni/events/default.html