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
76
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
88
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
80
Other Decks in Technology
See All in Technology
ABEMAの本番環境負荷試験への挑戦
mk2taiga
4
300
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
170
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
54
21k
Reach American Airlines®️ Instantly: 19 Calling Methods for Fast Support in the USA
flyamerican
1
180
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
140
QuickSight SPICE の効果的な運用戦略~S3 + Athena 構成での実践ノウハウ~/quicksight-spice-s3-athena-best-practices
emiki
0
110
VS CodeとGitHub Copilotで爆速開発!アップデートの波に乗るおさらい会 / Rapid Development with VS Code and GitHub Copilot: Catch the Latest Wave
yamachu
2
190
ゼロからはじめる採用広報
yutadayo
3
990
ソフトウェアテストのAI活用_ver1.25
fumisuke
0
140
赤煉瓦倉庫勉強会「Databricksを選んだ理由と、絶賛真っ只中のデータ基盤移行体験記」
ivry_presentationmaterials
2
380
インフラ寄りSREの生存戦略
sansantech
PRO
7
2.5k
Glacierだからってコストあきらめてない? / JAWS Meet Glacier Cost
taishin
1
170
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
A better future with KSS
kneath
238
17k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Done Done
chrislema
184
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Gamification - CAS2011
davidbonilla
81
5.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
What's in a price? How to price your products and services
michaelherold
246
12k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Adopting Sorbet at Scale
ufuk
77
9.5k
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