Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
HTML/CSS with Infusion
Search
WebMuses
June 11, 2015
Technology
0
77
HTML/CSS with Infusion
WebMuses
June 11, 2015
Tweet
Share
More Decks by WebMuses
See All by WebMuses
Agata Mazur on WebMuses
webmuses
2
290
Monika Konieczny - Girl Among Geeks
webmuses
0
89
Anna Migas - Why some cafeterias are more likely to be visited than the others? About User Experience.
webmuses
0
180
Ewa Maciaś - GWT developing web applications with java(script)
webmuses
1
160
Basia Strojnowska: On comfort zone... and beyond
webmuses
0
81
Other Decks in Technology
See All in Technology
JAWS-UG SRE支部 #14 LT
okaru
0
110
LINEヤフー バックエンド組織・体制の紹介
lycorptech_jp
PRO
0
280
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
4
1.3k
AIと自動化がもたらす業務効率化の実例: 反社チェック等の調査・業務プロセス自動化
enpipi
0
550
探求の技術
azukiazusa1
7
2.2k
プログラミング言語を書く前に日本語を書く── AI 時代に求められる「言葉で考える」力/登壇資料(井田 献一朗)
hacobu
PRO
0
160
はじめての OSS コントリビューション 〜小さな PR が世界を変える〜
chiroito
4
320
ソフトウェア開発現代史: 55%が変化に備えていない現実 ─ AI支援型開発時代のReboot Japan #agilejapan
takabow
6
4k
AIでテストプロセスを自動化しよう251113.pdf
sakatakazunori
0
130
米軍Platform One / Black Pearlに学ぶ極限環境DevSecOps
jyoshise
1
310
[mercari GEARS 2025] Keynote
mercari
PRO
0
250
CDKの魔法を少し解いてみる ― synth・build・diffで覗くIaCの裏側 ―
takahumi27
1
150
Featured
See All Featured
Navigating Team Friction
lara
190
15k
The Cult of Friendly URLs
andyhume
79
6.7k
KATA
mclloyd
PRO
32
15k
Context Engineering - Making Every Token Count
addyosmani
9
380
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Done Done
chrislema
186
16k
Writing Fast Ruby
sferik
630
62k
Agile that works and the tools we love
rasmusluckow
331
21k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Practical Orchestrator
shlominoach
190
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8k
Transcript
HTML & CSS „THE BEGINNING” Monika Zamojska Bartosz Tupta
None
HTML CSS
None
DOCTYPE • it is an instruction to the web browser
about what version of HTML the page is written in • HTML5 <!DOCTYPE html> • HTML 4.01 Strict <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
None
[…] <div id=”header”></div> <div id=”nav”></div> <div id=”section”> <div id=”article”></div> </div>
<div id=”sidecolumn”></div> <div id=”footer”></div> […]
None
[…] <header></header> <nav></nav> <section> <header></header> <article></article> <footer></footer> </section> <aside></aside> <footer></footer>
[…]
None
None
None
#xyz { color: red }
None
SELECTORS • .className {} • tagName {} • #idName {}
• .className.classNameModificator{} • tagName[attr=value] {} • .className:pseudoClass {} • * {} • element > element • … others
PROPERTIES ~ 200
None
SEMANTIC HTML WHY SO IMPORTANT?
None
None
– developer „I feel so guilty adding a div. Div-itis
is terrible, I hear.”
SEMANTIC REALISM ACCESSIBILITY READABLE
UNITS %, em, px, pt, pc, ex, cm, mm, in,
rem, vh, vw, vmin, vmax
PX .
EM • Relative to the font-size of the element (2em
means 2 times the size of the current font) (but only font-size) • Useful in Responsive Web Design
EM (EXAMPLE) body { font-size:14px; } h1 { font-size:2em; }
p { font-size:1.2em; } h1 header 28px and this is a paragraph which is 16px http://pxtoem.com/
%
THE FIRST TIME YOU APPLY A CSS TO A WEB
PAGE
LESS / SASS CSS preprocessors
MONIKA! IT’S YOUR TURN!
CSS DIN(N)ER
HELPERS! Monika Robert Tomasz
OPEN IT. • http://bit.ly/1oEpqyD • or just http://flukeout.github.io/
TIME FOR WORKSHOPS! • you have 90 minutes • you’ve
got our “helpers” • download assets from: http://thewayforward.pl/pinksponge.zip
GO!
None