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
75
HTML/CSS with Infusion
WebMuses
June 11, 2015
Tweet
Share
More Decks by WebMuses
See All by WebMuses
Agata Mazur on WebMuses
webmuses
2
280
Monika Konieczny - Girl Among Geeks
webmuses
0
86
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
150
Basia Strojnowska: On comfort zone... and beyond
webmuses
0
79
Other Decks in Technology
See All in Technology
教師なし学習の基礎
kanojikajino
4
370
GitLab SelfManagedをCodePipelineのソースに設定する/SetGitLabSelfManagedtoCodePipeline
norihiroishiyama
1
120
プロダクト開発、インフラ、コーポレート、そしてAIとの共通言語としての Terraform / Terraform as a Common Language for Product Development, Infrastructure, Corporate Engineering, and AI
yuyatakeyama
6
1.6k
一人から始めたSREチーム3年の歩み - 求められるスキルの変化とチームのあり方 - / The three-year journey of the SRE team, which started all by myself
vtryo
7
5.8k
Postman Vaultを使った秘密情報の安全な管理
nagix
3
150
Agentic AI時代のプロダクトマネジメントことはじめ〜仮説検証編〜
masakazu178
3
430
トレードオフスライダーにおける品質について考えてみた
suzuki_tada
3
180
RevOpsへ至る道 データ活用による事業革新への挑戦 / path-to-revops
pei0804
3
820
例外処理を理解して、設計段階からエラーを「見つけやすく」「起こりにくく」する
kajitack
12
3.8k
サーバーレスで楽しよう!お気軽に始められる3つのポイント / Have fun with Serverless!
_kensh
2
240
ハンズオンで学ぶ Databricks - Databricksにおけるデータエンジニアリング
taka_aki
1
2.1k
ObservabilityCON on the Road Tokyoの見どころ
hamadakoji
0
220
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Mobile First: as difficult as doing things right
swwweet
222
9.2k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Embracing the Ebb and Flow
colly
84
4.5k
KATA
mclloyd
29
14k
Being A Developer After 40
akosma
89
590k
Side Projects
sachag
452
42k
Faster Mobile Websites
deanohume
305
31k
A Modern Web Designer's Workflow
chriscoyier
693
190k
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