SlideShare a Scribd company logo
HTML UND CSS
FÜR DESIGNER
Pubkon 2014, Michaela Lehr @fischaelameer
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
1. INHALTE
2. TYPOGRAFIE
3. LAYOUT
4. GRAFISCHE ELEMENTE
Thanks Maciej Cegłowski!
2014 HTML und CSS für Designer – Pubkon
1. INHALTE
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
HYPERTEXT MARKUP LANGUAGE
<h1>Headline 1</h1>
<h2>Headline 2</h2>
<p>Paragraph</p>
<footer>
<p>Footer paragraph</p>
</footer>
<ol>
<li>List item</li>
<li>List item</li>
</ol>
<ul>
<li>List item</li>
<li>List item</li>
</ul>
<h1>The Internet <span>has a human face</span></h1>
<h1>The Internet<br>
<span>has a human face</span>
</h1>
<h1>The Internet<br>
<span class="t-headline-decent">has a human face</span>
</h1>
<Start-Tag eigenschaft="wert">Auszuzeichnender Inhalt</End-Tag>
<a href="https://twitter.com/anildash" target="_blank">Anil Dash</a>
<img src="images/bt14.064.jpg" alt="White mouse holding a teddy bear.">
2014 HTML und CSS für Designer – Pubkon
2. TYPOGRAFIE
CASCADING STYLE SHEETS
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
...
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Internet with a human face</title>
</head>
<body>
...
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Internet with a human face</title>
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
...
</body>
</html>
<link rel="stylesheet" href="styles/main.css">
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
selektor {
eigenschaft: wert;
}
element {
eigenschaft: wert;
}
.klasse {
eigenschaft: wert;
}
#id {
eigenschaft: wert;
}
body {
color: #333333;
}
h1,
h2 {
font-family: 'Exo2', Sans-Serif;
}
@font-face {
font-family: 'Exo2';
}
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo-2/Exo2-Black.woff') format('woff'),
url('fonts/Exo-2/Exo2-Black.ttf') format('truetype');
}
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo-2/Exo2-Black.woff') format('woff'),
url('fonts/Exo-2/Exo2-Black.ttf') format('truetype');
font-style: normal;
font-weight: 900;
}
@font-face {
font-family: 'Exo2';
src: url('fonts/Exo-2/Exo2-LightItalic.woff') format('woff'),
url('fonts/Exo-2/Exo2-LightItalic.ttf') format('truetype');
font-style: italic;
font-weight: 300;
}
h2 {
font-family: 'Exo2', Sans-Serif;
font-style: italic;
font-weight: 300;
}
PIXEL (px)
PROZENT (%)
EM (em)
h2 {
font-size: 20px;
line-height: 1.5em;
}
PIXEL (px)
PROZENT (%)
EM (em)
ROOT EM (rem)
h2 {
font-size: 20px;
line-height: 1.5rem;
}
2014 HTML und CSS für Designer – Pubkon
3. LAYOUT
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
* {
box-sizing: border-box;
}
2014 HTML und CSS für Designer – Pubkon
.l-copytext img {
width: 100%;
}
.l-copytext ol {
margin-left: -2em;
}
.l-copytext ol img {
margin: 1em 0;
}
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
4. GRAFISCHE ELEMENTE
html,
body {
height: 100%;
margin: 0;
}
2014 HTML und CSS für Designer – Pubkon
<section class="title-container">
<h1 id="title">The Internet
<br><span class="t-headline-decent">with a human face</span></h1>
</section>
.title-container {
margin: 0 0 4rem 0;
width: 100%;
height: 100%;
}
.title-container {
background-image: url('../images/bt14.001.jpg');
background-position: 50% 50%;
background-size: cover;
margin: 0 0 4rem 0;
width: 100%;
height: 100%;
}
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
.title-container h1 {
position: static | relative | absolute | fixed;
}
<section class="title-container">
<h1 id="title">The Internet
<br><span class="t-headline-decent">with a human face</span></h1>
</section>
.title-container h1 {
position: absolute;
left: 10%;
bottom: 10%;
}
.title-container {
background-image: url('../images/bt14.001.jpg');
background-position: 50% 50%;
background-size: cover;
margin: 0 0 4rem 0;
position: relative;
width: 100%;
height: 100%;
}
2014 HTML und CSS für Designer – Pubkon
<a href="https://twitter.com/anildash" target="_blank">Anil Dash</a>
a {
color: #00a0a0;
font-weight: 700;
text-decoration: none;
}
a:hover,
a:active {
border-bottom: 4px solid #00a0a0;
}
2014 HTML und CSS für Designer – Pubkon
JAVASCRIPT
JQUERY
HTML – INHALT
CSS – AUSSEHEN
JAVASCRIPT – VERHALTEN
2014 HTML und CSS für Designer – Pubkon
$(document).on('ready', function () {
});
$(document).on('ready', function () {
var animateElement = function (selektor) {
$(selektor).hide().slideDown(1000);
};
});
$(document).on('ready', function () {
var animateElement = function (selektor) {
$(selektor).hide().slideDown(1000);
};
animateElement('#title');
});
2014 HTML und CSS für Designer – Pubkon
MEDIA QUERIES
Display-Breite/-Höhe,
Browser-Breite/-Höhe,
Geräte- und Browser-Ratio ...
body {
color: #333333;
font-family: 'Gentium', Serif;
font-size: 125%;
font-weight: 400;
line-height: 1.5em;
}
body {
color: #333333;
font-family: 'Gentium', Serif;
font-size: 100%;
font-weight: 400;
line-height: 1.5em;
}
@media screen and (min-width: 900px) {
body {
font-size: 125%;
}
}
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
a {
color: #00a0a0;
font-weight: 700;
text-decoration: none;
transition: border 0.1s ease-in;
}
a:hover,
a:active {
border-bottom: 4px solid #00a0a0;
}
$color-primary: #00a0a0;
a {
color: $color-primary;
font-weight: 700;
text-decoration: none;
transition: border 0.1s ease-in;
&:hover,
&:active {
border-bottom: 4px solid $color-primary;
}
}
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
GITHUB.COM
Beispiel: github.com/Fischaela/Pubkon-2014
2014 HTML und CSS für Designer – Pubkon
2014 HTML und CSS für Designer – Pubkon
CODECADEMY
codecademy.com
TREEHOUSE
teamtreehouse.com
DANKE! <3

More Related Content

KEY
Semantic HTML5
PPT
Web design
PDF
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
PPTX
Css colors
PPTX
Css pseudo classes
PPTX
Css backgrounds
PDF
Facebook Open Graph implementation in the Harvard Gazette
DOC
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
Semantic HTML5
Web design
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
Css colors
Css pseudo classes
Css backgrounds
Facebook Open Graph implementation in the Harvard Gazette
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB

What's hot (20)

PPTX
PDF
Findability Bliss Through Web Standards
PDF
Layout with CSS
PDF
Styling with CSS
PDF
6. CSS
PPTX
HTML, CSS, JavaScript for beginners
PPTX
Upstate CSCI 450 WebDev Chapter 2
KEY
关于 Html5 那点事
DOC
poornamatha : poornamitham poornath-poorna-muthatchyathe |
DOCX
Player fixo
TXT
Código player fixo
PPT
Site Architecture for Advanced SEO: Images
PDF
HTML5 & CSS3 Flag
TXT
http://kariwebsite.com/
PPTX
Basic HTML
PPT
Web Design 101
PDF
CSS Frameworks
DOCX
programming
PDF
HTML5 Essentials
Findability Bliss Through Web Standards
Layout with CSS
Styling with CSS
6. CSS
HTML, CSS, JavaScript for beginners
Upstate CSCI 450 WebDev Chapter 2
关于 Html5 那点事
poornamatha : poornamitham poornath-poorna-muthatchyathe |
Player fixo
Código player fixo
Site Architecture for Advanced SEO: Images
HTML5 & CSS3 Flag
http://kariwebsite.com/
Basic HTML
Web Design 101
CSS Frameworks
programming
HTML5 Essentials
Ad

Viewers also liked (18)

PPT
IsengIseng
PDF
"Docker For Polyglots" - Nathan LeClaire - YAPC::Asia 2015
PPTX
Meat eating effects
PPS
Serenidade
PPT
Genetically modified foods
PPTX
Multimedia
PDF
HCF 2016: Ronald Bock
PDF
Paper for british cattle breeders club brazil
PDF
Publicações Martyria
PPTX
Abdomen agudo
PDF
Kiedy wymienic ogrzewanie domu - quiz
PDF
WebAssembly
PPTX
How to do the right website analysis
PPTX
Nadis hypno
PPT
Cateq pt 20
PPTX
A frame beginner lesson
PPTX
Multimedia y sus elementos
PPTX
Levítico
IsengIseng
"Docker For Polyglots" - Nathan LeClaire - YAPC::Asia 2015
Meat eating effects
Serenidade
Genetically modified foods
Multimedia
HCF 2016: Ronald Bock
Paper for british cattle breeders club brazil
Publicações Martyria
Abdomen agudo
Kiedy wymienic ogrzewanie domu - quiz
WebAssembly
How to do the right website analysis
Nadis hypno
Cateq pt 20
A frame beginner lesson
Multimedia y sus elementos
Levítico
Ad

Similar to 2014 HTML und CSS für Designer – Pubkon (20)

PDF
Stole16
PDF
#3 HTML & CSS [know-how]
PDF
An Intro to HTML & CSS
PPTX
Introduction to HTML5
PDF
An Introduction To HTML5
PPTX
Section1 HTML (part 1) Web technology for b
KEY
Fronttechnieken met HTML5 en de Slice-template
PPTX
HTML Lesson HTML FormsHTML Formsvv4.pptx
KEY
An Introduction to HTML5
PPTX
web pro web pro web pro web pro v w.pptx
PPTX
計算機概論20161205
PPTX
Supercharged HTML & CSS
PPTX
Html coding
PPTX
ppt.pptx
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPTX
Java script and html new
PPTX
Java script and html
PDF
30+ Basic HTML Coding Projects for Class 10.pdf
PDF
Html5 quick-learning-quide
PDF
Html5 quick-learning-quide
Stole16
#3 HTML & CSS [know-how]
An Intro to HTML & CSS
Introduction to HTML5
An Introduction To HTML5
Section1 HTML (part 1) Web technology for b
Fronttechnieken met HTML5 en de Slice-template
HTML Lesson HTML FormsHTML Formsvv4.pptx
An Introduction to HTML5
web pro web pro web pro web pro v w.pptx
計算機概論20161205
Supercharged HTML & CSS
Html coding
ppt.pptx
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Java script and html new
Java script and html
30+ Basic HTML Coding Projects for Class 10.pdf
Html5 quick-learning-quide
Html5 quick-learning-quide

More from GeilDanke (14)

PDF
WebXR: A New Dimension For The Web Writing Virtual and Augmented Reality Apps...
PDF
Using New Web APIs For Your Own Pleasure – How I Wrote New Features For My Vi...
PDF
Using New Web APIs For Your Own Pleasure
PDF
Writing Virtual And Augmented Reality Apps With Web Technology
PDF
Creating Augmented Reality Apps with Web Technology
PDF
How to Make Your Users Sick in 60 Seconds – About UX Design, WebVR and React VR
PDF
More Ways to Make Your Users Sick – A talk about WebVR and UX Design
PDF
Goodbye, Flatland! An introduction to WebVR and what it means for web developers
PDF
Goodbye, Flatland! An introduction to React VR and what it means for web dev...
PDF
An Introduction to WebVR – or How to make your user sick in 60 seconds
PDF
2016 First steps with Angular 2 – enterjs
PDF
2013 Digitale Magazine erstellen - Konzeption und Redaktion
PDF
2014 Adobe DPS Update 29
PDF
2012 Digital Publishing IDUG Stuttgart
WebXR: A New Dimension For The Web Writing Virtual and Augmented Reality Apps...
Using New Web APIs For Your Own Pleasure – How I Wrote New Features For My Vi...
Using New Web APIs For Your Own Pleasure
Writing Virtual And Augmented Reality Apps With Web Technology
Creating Augmented Reality Apps with Web Technology
How to Make Your Users Sick in 60 Seconds – About UX Design, WebVR and React VR
More Ways to Make Your Users Sick – A talk about WebVR and UX Design
Goodbye, Flatland! An introduction to WebVR and what it means for web developers
Goodbye, Flatland! An introduction to React VR and what it means for web dev...
An Introduction to WebVR – or How to make your user sick in 60 seconds
2016 First steps with Angular 2 – enterjs
2013 Digitale Magazine erstellen - Konzeption und Redaktion
2014 Adobe DPS Update 29
2012 Digital Publishing IDUG Stuttgart

Recently uploaded (20)

PDF
321 LIBRARY DESIGN.pdf43354445t6556t5656
PDF
Chalkpiece Annual Report from 2019 To 2025
PDF
Timeless Interiors by PEE VEE INTERIORS
PPTX
a group casestudy on architectural aesthetic and beauty
PDF
1 Introduction to Networking (06).pdfbsbsbsb
PPT
Fire_electrical_safety community 08.ppt
PDF
The Complete Guide to Buying Verified Stripe Accounts 2025.pdf
PPTX
SOBALAJE WORK.pptxe4544556y8878998yy6555y5
PDF
2025_AIFG_Akane_Kikuchi_Empathy_Design.PDF
PDF
The Basics of Presentation Design eBook by VerdanaBold
PDF
How Animation is Used by Sports Teams and Leagues
PDF
Designing Through Complexity - Four Perspectives.pdf
PPTX
ACL English Introductionadsfsfadf 20200612.pptx
PPTX
Presentation.pptx anemia in pregnancy in
PPTX
22CDH01-V3-UNIT III-UX-UI for Immersive Design
PPT
EthicsNotesSTUDENTCOPYfghhnmncssssx sjsjsj
PDF
SOUND-NOTE-ARCHITECT-MOHIUDDIN AKHAND SMUCT
PPTX
Introduction to Building Information Modeling
PDF
GSH-Vicky1-Complete-Plans on Housing.pdf
PPTX
8086.pptx microprocessor and microcontroller
321 LIBRARY DESIGN.pdf43354445t6556t5656
Chalkpiece Annual Report from 2019 To 2025
Timeless Interiors by PEE VEE INTERIORS
a group casestudy on architectural aesthetic and beauty
1 Introduction to Networking (06).pdfbsbsbsb
Fire_electrical_safety community 08.ppt
The Complete Guide to Buying Verified Stripe Accounts 2025.pdf
SOBALAJE WORK.pptxe4544556y8878998yy6555y5
2025_AIFG_Akane_Kikuchi_Empathy_Design.PDF
The Basics of Presentation Design eBook by VerdanaBold
How Animation is Used by Sports Teams and Leagues
Designing Through Complexity - Four Perspectives.pdf
ACL English Introductionadsfsfadf 20200612.pptx
Presentation.pptx anemia in pregnancy in
22CDH01-V3-UNIT III-UX-UI for Immersive Design
EthicsNotesSTUDENTCOPYfghhnmncssssx sjsjsj
SOUND-NOTE-ARCHITECT-MOHIUDDIN AKHAND SMUCT
Introduction to Building Information Modeling
GSH-Vicky1-Complete-Plans on Housing.pdf
8086.pptx microprocessor and microcontroller

2014 HTML und CSS für Designer – Pubkon