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
滾動的CSS
Search
Shouko
October 24, 2014
Technology
1
430
滾動的CSS
台大開源社社課 基礎網頁設計
Shouko
October 24, 2014
Tweet
Share
More Decks by Shouko
See All by Shouko
PDOGS Recruit 2016
shouko
0
98
PDOGS 2015 Recruit
shouko
0
190
Open Source Open Data Intro
shouko
0
56
如何把大象放進冰箱裡 - 開源社PHP入門
shouko
2
880
資料視覺化與知名行動通訊APP之安全性疑慮
shouko
1
120
2014 NTU IM prepConf 哞~有趣的圖文產生器
shouko
1
180
Other Decks in Technology
See All in Technology
スプリントゴールにチームの状態も設定する背景とその効果 / Team state in sprint goals why and impact
kakehashi
2
100
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
4
4.7k
LeSSに潜む「隠れWF病」とその処方箋
lycorptech_jp
PRO
2
120
【若手エンジニア応援LT会】AWS Security Hubの活用に苦労した話
kazushi_ohata
0
170
小規模に始めるデータメッシュとデータガバナンスの実践
kimujun
3
590
なんで、私がAWS Heroに!? 〜社外の広い世界に一歩踏み出そう〜
minorun365
PRO
6
1.1k
生成AIと知識グラフの相互利用に基づく文書解析
koujikozaki
1
150
【若手エンジニア応援LT会】AWSで繋がり、共に成長! ~コミュニティ活動と新人教育への挑戦~
kazushi_ohata
0
180
10分でわかるfreee エンジニア向け会社説明資料
freee
18
520k
分布で見る効果検証入門 / ai-distributional-effect
cyberagentdevelopers
PRO
4
700
生成AIとAWS CDKで実現! 自社ブログレビューの効率化
ymae
2
330
マネジメント視点でのre:Invent参加 ~もしCEOがre:Inventに行ったら~
kojiasai
0
470
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
243
12k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
328
21k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
Embracing the Ebb and Flow
colly
84
4.4k
Teambox: Starting and Learning
jrom
132
8.7k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Documentation Writing (for coders)
carmenintech
65
4.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Ruby is Unlike a Banana
tanoku
96
11k
BBQ
matthewcrist
85
9.3k
Fireside Chat
paigeccino
32
3k
Transcript
None
NTUOSC Notice Fall 2013
R02725021 R02725046
Web Design #1 R02725021 x2 R02725046 ä
Agenda 上Web? NTU FTP HTML
上web HTML下 HTML
Īáĭ vs. 1áĭ Īáĭ L¼ýGQõWĝ*n HTML/CSS/Javascript 1áĭ ĩúğ{Òáĭ¤GĶĎv php/node.js/RoR/Python/JSP
Īáĭ ¼ýG áĭ¤G Ċľáĭ IHTMLáĭ QõclientÒ ÅÏy
1áĭ ¼ýG áĭ¤G Ċľáĭ IHTMLáĭ QõserverÒ ÅÏy
iăđ Īáĭ 1áĭ ÿ®ĈÏáĭ facebook twitter pinterest
ÈĤ@Ă Domain Name áP@ķZĻgoogle.comĶfacebook.com IP ×FćķLInternetÆMN DNS Domain Name System
! ĨĄØķ<ÅDomain Name.IP
áNĔ%Ļ google.com DNS server 2. http://202.169.173.247 1. ĊDNSgoogle.com IP google
web server 3. Ęâ.google server 4.I ĭĬ 4.I ĭĬÝ©
HTML CSS JS structure presentation behavior áĭWúÚ
ò\A HTML structure
\úYÉ HTML presentation CSS
¡{_j<1 HTML CSS behavior JS
NTU FTP Û -Åfilezilla Ñ=ÕÃE Ęâ Ęâ±Ļhomepage.ntu.edu.tw 7aĻFTP /dĻĩúĖĚVıyTLSÆFTP qôĶdÌĻîÿÈ?
xÐpublic_htmlĎX index.html²« http://homepage.ntu.edu.tw/~r02725021
None
NTU FTP 不 http://oper.cc.ntu.edu.tw/docs/student_homepage.html
HTML HyperText Markup Language ¯Ù tags start tag / close
tag l~ attributes <p class=”important”>This is a paragraph </p> Start tag Attribute Close tag Value Content Element
HTML5 wèþĠĻ ÀèþĠĻ ÈgHTML4ÆHTML¿§ U/ÆĆtag #eAPIķĐ¼ýGuĴ
ĊÇ^éHTML5ķėÂLęõyĸ
ï ĞúHello World! <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">
<title>Web Design</title> </head> <body> <p>Hello World!</p> </body> </html>
Tagć <!DOCTYPE> bC·İOaè <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http:// www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html>
Tagć <html> HTMLáĭ-Åhtml tag3 øĬ)3B<head>Ķ<body>'W5R
Tag <head> title meta <meta> ⼀一 <title> <link> CSS <script>
JS Javascript
Tagć <body> áĭeĦ&cãē· ÇÉáĭcodeAĸ
<html> </html> <head> </head> <body> </body> <link rel="stylesheet" href="style.css"> <script
src="javascript.js"></script> <meta charset="UTF-8"> <title>Web Design</title>
Block-level Element }L<body>& ¹element¢|Æõģ[ <3B(block-level element & inline-level element
Block-level Element <div> element 中 <p> <h1>~<h6> <hr> , <br>
<form> <ul> 中•.•.•... , <ol> 中1.2.3.. <li> <ul> <ol>
Block-level Element <header> ⼀一 <footer> ⼀一 ⼀一 <nav> <article> <section>
<aside> ⼀一 <hgroup>
¯»HTML5ªy ¥HTML source:http://bit.ly/GMjof4
Z©(ʶÆĆ ĊÅ<div>
Inline-level Element ;ì3B£contentD(inline-level element ì3block-level element default(¼ýGĮā)¢|Æõķ¢L>Ĝå 9+
Inline-level Element <span> inline element <a> 不 <img> <button> ,
<input> <em> , <code> code, <i> <a href=”http://google.com” target=”_blank”> <img src="http://joung.im.ntu.edu.tw/images/bcc-logo.gif" alt=" 三">
×FÖ http://jsbin.com/AKewIPo/1/edit
ąúËě *ĕblock-level elementDinline-levelÆo, ¦L¿ÆĽķ$ėelement ĵlevelļ elementÞg;ė ķnothing but google! úHTML9ĉ°yķúæ4Ğ
àCSS9
^éĎº http://www.w3schools.com/ http://html5doctor.com/ http://devdocs.io (īró!) ĤĢ]Ļ101
Web Design #2 R02725021 fP% R02725046
Outline What is CSS? Why? Where is CSS? How can
I use CSS? Learning Resource
What is CSS? Cascading Style Sheets [nQ \!½J@ÄnQ ¨½§x ÆIe»?
Ç
Why? E¯HTML¼2Ë z) Æ HTML+By 3¿£Dn Q °;¹ ¦ @4¹Ä5KlU
Why? CSSà RS¦½nQCd ) q£@:| nQ }CSSnQ
Where is CSS? Inline style MnQ <p style="color:sienna;margin-left:20px">This is a
paragraph.</p> g»¬Æ`$gÂ!
Where is CSS? Internal style sheet ³nQÈb½É `$<~6b½ <head> <style>
hr { color: sienna; } p { margin-left: 20px; } body { background-image: url("images/back40.gif"); } </style> </head>
Where is CSS? External style sheet 9³nQÈ.cssoÉ `$<~6b½Æpµ©Å <head> <link
rel="stylesheet" type="text/css" href="mystyle.css"> </head>
Where is CSS? y 3¿£ g +By 3Dn ¡u«vÊ reset.css
G+By 3nQsº normalize.css G+By 3nQ
Inline style MnQ Internal style sheet ³nQ External style sheet
9³nQ y 3¿£nQ 1 2 3 4 ¾O
How can I use CSS? nQ Z{ Box model
7lU class ( .¶À) c ) µi,class idÈ #¶ÀÉ c
(iid
²'3 m²'3 [IeHTMLm class²'3 ~.¶ÀA. id²'3 ~#¶ÀA. ¨CSS±~61element¼
Box model
¥8 FÊ960px tN 30% 70%
^EwV ~nQ/-Æ~¤V&/- [ÄÁLQ/-)ÆXeµÃÅ
Learning Resource http://www.1keydata.com/css-tutorial/tw/ ·a> http://hackdesign.org/ hEcode h£¢ https://github.com/kidwm/idiomatic-css/tree/master/ translations/zh-TW ½E"
http://www.smashingmagazine.com/ Web Design T]
Resource http://www.flaticon.com/ Yicon http://www.awwwards.com/ ½£¢=0 http://colorschemedesigner.com/ ´ http://codepen.io/ webH0_¸N*
j®k ªÊhttps://github.com/kpman/joung-lab NTU FTP week6.html WrÊ10/23ÈÉ pm6:30#