SlideShare ist ein Scribd-Unternehmen logo
1 von 37
[object Object],[object Object]
Definition of success ,[object Object]
Hacker : understands CSS – mostly.
Newbie : example-driven guy that keeps throwing random shit around until something sticks. ←  I used to  live here
Who am I? ,[object Object]
He is CTO at Extrema Sistemas
He hates talking about himself in the third person.
The browsers ,[object Object]
 
IE 6
[object Object],size display position float
Size ,[object Object]
padding
border
margin
box-sizing: border-box ,[object Object],[object Object]
-webkit-box-sizing: border-box;
box-sizing: border-box;  ,[object Object]
box-sizing: border-box ,[object Object]
Min and max ,[object Object]
max-width, max-height
The box model ,[object Object]
display
position
float
display ,[object Object],p, div, h1 { display: block; } a, span, strong, em { display: inline; } .hide { display: none; }
display: block <div>A</div> <div>B</div> <div>C</div>
display: inline-block div { display: inline-block; }
The box model ,[object Object]
display
position
float
Position ,[object Object]
position: static ,[object Object],<div>A</div> <div>B</div> <div>C</div>
position: relative ,[object Object],<div>A</div> <div style=” position: relative;  left: 15px;  top: 10px ” > B </div> <div>C</div>
position: absolute ,[object Object],<div>A</div> <div style=” position: absolute;  left: 15px;  top: 10px ” > B </div> <div>C</div>
position: fixed ,[object Object],<div>A</div> <div style=” position: fixed;  right: 10px;  top: 10px ” > B </div> <div>C</div>

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (13)

card flip
card flip card flip
card flip
 
Box Model
Box ModelBox Model
Box Model
 
Getting rid of images with CSS
Getting rid of images with CSSGetting rid of images with CSS
Getting rid of images with CSS
 
Css introduction
Css  introductionCss  introduction
Css introduction
 
Responsive Typography II
Responsive Typography IIResponsive Typography II
Responsive Typography II
 
Css frameworks
Css frameworksCss frameworks
Css frameworks
 
Css (1)
Css (1)Css (1)
Css (1)
 
UX & Responsive Design
UX & Responsive DesignUX & Responsive Design
UX & Responsive Design
 
popular posts widget
popular posts widgetpopular posts widget
popular posts widget
 
Floating ad widget
Floating ad widgetFloating ad widget
Floating ad widget
 
Css box-model
Css box-modelCss box-model
Css box-model
 
#5 - CSS3 Gradients and Backgrounds
#5 - CSS3 Gradients and Backgrounds#5 - CSS3 Gradients and Backgrounds
#5 - CSS3 Gradients and Backgrounds
 
Oocss & progressive css3 selectors
Oocss & progressive css3 selectorsOocss & progressive css3 selectors
Oocss & progressive css3 selectors
 

Andere mochten auch

Styles and development of documentaries
Styles and development of documentariesStyles and development of documentaries
Styles and development of documentaries
Kostadin Stoimenov
 

Andere mochten auch (7)

Euro Ia Designing Exploding Websites Share
Euro Ia Designing Exploding Websites ShareEuro Ia Designing Exploding Websites Share
Euro Ia Designing Exploding Websites Share
 
5 Busting Tooth Myths You Should Know About
5 Busting Tooth Myths You Should Know About5 Busting Tooth Myths You Should Know About
5 Busting Tooth Myths You Should Know About
 
Developing and testing ajax components
Developing and testing ajax componentsDeveloping and testing ajax components
Developing and testing ajax components
 
Styles and development of documentaries
Styles and development of documentariesStyles and development of documentaries
Styles and development of documentaries
 
From Expertise to Experimentation - Future Developing Services with People
From Expertise to Experimentation - Future Developing Services with PeopleFrom Expertise to Experimentation - Future Developing Services with People
From Expertise to Experimentation - Future Developing Services with People
 
Codemotion appengine
Codemotion appengineCodemotion appengine
Codemotion appengine
 
EuroIA 2009 Designing Exploding Websites Smit Boersma
EuroIA 2009 Designing Exploding Websites Smit BoersmaEuroIA 2009 Designing Exploding Websites Smit Boersma
EuroIA 2009 Designing Exploding Websites Smit Boersma
 

Ähnlich wie Css for nondesigners

What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
Lisa Adkins
 
autotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docxautotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docx
ikirkton
 
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
cori0506
 
Html structure
Html structureHtml structure
Html structure
akkias
 

Ähnlich wie Css for nondesigners (20)

Tukulam
TukulamTukulam
Tukulam
 
UI 101
UI 101UI 101
UI 101
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
A More Perfect Union with CSS
A More Perfect Union with CSSA More Perfect Union with CSS
A More Perfect Union with CSS
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
 
autotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docxautotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docx
 
Making Your Site Look Great in IE7
Making Your Site Look Great in IE7Making Your Site Look Great in IE7
Making Your Site Look Great in IE7
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01
 
Advance Css
Advance CssAdvance Css
Advance Css
 
Advance Css 1194323118268797 5
Advance Css 1194323118268797 5Advance Css 1194323118268797 5
Advance Css 1194323118268797 5
 
Css, xhtml, javascript
Css, xhtml, javascriptCss, xhtml, javascript
Css, xhtml, javascript
 
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
 
The Future State of Layout
The Future State of LayoutThe Future State of Layout
The Future State of Layout
 
Introduction to HTML-CSS-Javascript.pdf
Introduction to HTML-CSS-Javascript.pdfIntroduction to HTML-CSS-Javascript.pdf
Introduction to HTML-CSS-Javascript.pdf
 
Understanding flex box CSS Day 2016
Understanding flex box CSS Day 2016Understanding flex box CSS Day 2016
Understanding flex box CSS Day 2016
 
Html structure
Html structureHtml structure
Html structure
 
Intro to CSS
Intro to CSSIntro to CSS
Intro to CSS
 
Look ma! No images!
Look ma! No images!Look ma! No images!
Look ma! No images!
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Css for nondesigners

Hinweis der Redaktion

  1. Casi todo el mundo está en el último nivel y prueban al azar. La idea de esta charla es subirles al menos un nivel.
  2. Recordar que se al ancho/alto se suman el padding y border que pongan
  3. IE6 no reconoce min ni max. Min y max controlan el comportamiento de los textarea en chrome
  4. Margins etc solo aplican a block Float automaticamente implica display: block
  5. vertical-align puede valer top, bottom, baseline o middle. Lo normal para esto sería usar top. Esto no se suele usar, sino float. A diferencia de float, este no necesita fijarle el alto a los elementos. Soportado por IE7, aunque necesita un par de hacks de CSS para hacerlo rodar
  6. Se explican en las siguientes slides
  7. Se coloca en la posición que le corresponde según el modelo de cajas. left, right, top y bottom se ignoran
  8. Añade a su posición por defecto. Puede usarse top, left, right, bottom Pueden usarse cantidades negativas
  9. El contenedor de B no hará scroll junto con el resto de la página
  10. Float: Posiciona un elemento a la derecha o izquierda de su contenedor y permite que el resto de elementos fluyan alrededor suyo. Así el float no hará crecer a su contenedor. Tanto posicionar de forma absoluta un elemento como el flotarlo, significan que salen del flujo normal de documento y eso afecta en unos casos a todos los elementos (position) y el otro a su caja padre que se comportan en algunos aspectos como si esos elementos no existiesen.
  11. Cuando hay un contenido flotado (A) puede ser que sea más largo que el no flotado (B y C) o no. Aquí se cubren los dos casos, y el uso de clear.
  12. hidden: oculta el contenido que se desborda. Es una alternativa a clearfix. visible: puede desbordar la caja auto: puede mostrar barras de scroll Esto aplica a los contenidos flotados
  13. El reset de Eric Meyer es el más conocido. Es también el primero. Esto es el reset completo. No falta nada. Notarse que en la columna izquierda no se usa *, sino cada tag individual. Esto es por rendimiento y por no asignar propiedades a tags que no las usan (como object o script) En la columna derecha hay una referencia a HTML5 que veremos en la parte de tags semánticos
  14. Afecta a cada uno de los roles de un proyecto: * Diseñador: le da un Photoshop para trabajar * HTML: le da un CSS ya probado * Desarrollador: no tiene que entender cómo funciona, sino sólo el número de columnas que quiere usar.