Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
前端和视觉间的故事
Search
周祺
May 20, 2011
Programming
240
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
前端和视觉间的故事
f2e and vd
周祺
May 20, 2011
More Decks by 周祺
See All by 周祺
Mobile Web的性能优化与测试
zhouqicf
7
410
Web App
zhouqicf
1
250
Web App开发
zhouqicf
4
340
f2e @ 2012
zhouqicf
6
200
Photoshop影像修饰艺术
zhouqicf
4
430
CSS模块化
zhouqicf
2
270
Chrome Extension
zhouqicf
1
410
Other Decks in Programming
See All in Programming
Performance Optimization With LLMs
xleitix
0
140
Railsバージョンを4倍にした話
optim
0
450
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
280
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
800
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
33k
AmebaブログはKMPから卒業します
kmars0605
0
200
ジョジョの世界をXRで再現する
mofurune
0
170
Workers Cache を知る
syumai
0
370
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.3k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
Navigating Weather and Climate Data
rabernat
0
560
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Embracing the Ebb and Flow
colly
88
5.2k
Building an army of robots
kneath
307
47k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Speed Design
sergeychernyshev
33
2.2k
GraphQLとの向き合い方2022年版
quramy
50
15k
Transcript
Frontend and visual designer You Xiao
[email protected]
http://www.zhouqicf.com
前端和视觉间的故事
BOX MODEL
BOX MODEL h"p://dev/labs/youxiao/minutes/f_v/box.html
BOX MODEL 问题出在哪?
PSD
出相同功能模块的图时,尽可能在第一时间提供该模块的最复杂情形 p 文字太长导致折行 p 导航右侧的按钮、链接 p 多种数据形式、多种状态
p … ABOUT PSD
Png8不支持半透明(布尔透明) ABOUT PSD ABOUT PSD h"p://ued.taobao.com/blog/2010/12/10/jpg_png/
图片的尺寸时不要将边框线计算在内 ABOUT PSD ABOUT PSD
遇到迭代开发时,千万要事先统一所有页面的视觉样式,包括通 用模块样式(如模块的标题、喉巴……);通用元素的样式(如提 示、表单、表格……);模块间的间距;配色方案…… 尽量避免样式的不一致、避免推翻之前的设计。 ABOUT PSD h"p://kxt.koubei.com/space/vd/xiqin/2010xiangmu/sd/
原生按钮还是链接模拟按钮? ABOUT PSD
中文默认字体(font: 12px/1.231 arial;) ABOUT PSD …
哪些是链接? ABOUT PSD
1537*528 157KB 首页:10KB(css)+60KB(js)+40KB(img) ≈ 110KB 内容尽量不要做成图片 home_icon_v9.jpg ABOUT PSD ABOUT
PSD h"p://kxt.koubei.com/product/business/v1/demo/home.php
将视觉稿按“项目分类”整齐地放在KXT上 ABOUT PSD ABOUT PSD h"p://kxt.koubei.com/space/vd/product/
标注: p 特殊字体,标示出字体名称、字号,特别是运用了特殊字体的 数字(PS-‐BROSWER) p 关键间距的数值(当然对于前端来讲,这里更好的做法是视觉 统一模块甚至元素间的间距,比如标题的下边距统一10像素, 各个模块间的下边距统一20像素)
p 行高 p 特殊色值 p 渐变范围、阴影范围(显示器色差) p … ABOUT PSD
DYNAMIC DESIGN
“DYNAMIC” DESIGN 显⽰示、隐藏; ⿏鼠标移⼊入、⿏鼠标移出; 加载开始、加载结束; DYNAMIC DESIGN
h"p://kxt.koubei.com/product/business/v1/demo/pic_branch_manage.php DYNAMIC DESIGN
h"p://my.koubei.com/jiayuan/home.html DYNAMIC DESIGN
h"p://www.taobao.com DYNAMIC DESIGN
h"p://kxt.koubei.com/labs/youxiao/minutes/f_v/index-‐transform.htm DYNAMIC DESIGN 更有趣的⽅方式:
h"p://demo.tutorialzine.com/2010/10/css3-‐animated-‐bubble-‐bu"ons/css3-‐bu"ons.html DYNAMIC DESIGN
h"p://my.koubei.com/jiayuan/home.html DYNAMIC DESIGN
DYNAMIC DESIGN What’s more?
h"p://twi"er.com/ DYNAMIC DESIGN Ajax is everywhere.
h"p://kxt.koubei.com/product/business/v1/demo/pic_one_manage.php DYNAMIC DESIGN Ajax is loading.
h"p://my.koubei.com/my/personalhome.html?city=2595 DYNAMIC DESIGN Ajax is loading
h"p://www.flickr.com/photos/upload/ DYNAMIC DESIGN Ajax is loading
h"p://my.koubei.com/jiayuan/home.html DYNAMIC DESIGN Ajax is successful.
DYNAMIC DESIGN And, What’s more?
DYNAMIC DESIGN h"p://www.webdesignerwall.com/demo/media-‐queries
DYNAMIC DESIGN
DYNAMIC DESIGN
h"p://kxt.koubei.com/product/business/v1/demo/home.php DYNAMIC DESIGN
Modularity DESIGN
MODULARITY
MODULARITY
MODULARITY h"p://kxt.koubei.com/space/lib/global/base/builder/builder.html
MODULARITY
MODULARITY
h"p://kxt.koubei.com/product/manage/v1/demo/demo.php MODULARITY
h"p://kxt.koubei.com/product/manage/v1/demo/demo.php MODULARITY h"p://kxt.koubei.com/space/vd/xiqin/2010xiangmu/sd/%E5%90%8E%E5%8F%B0%E8%A7%86%E8%A7%89%E8%A7%84%E8%8C%83.JPG
MODULARITY
MODULE OOCSS OODESIGN MODULARITY
MODULARITY
MODULARITY
h"p://oocss.org/ MODULARITY
h"p://kxt.koubei.com/k2/bu"on/bu"on.html MODULARITY
MODULARITY
MODULE PATTERN MODULARITY
MODULARITY p 标题 p 简介 p 这个模式用来解决什么问题
p 具体的解决方案 p 为什么用这种模式 h"p://developer.yahoo.com/ypa"erns/navigafon/bar/progress.html
p 交互生成高保真原型,甚至生成前端HTML结构 p 视觉-‐基于基本框架再根据不同项目、页面替换不 同风格的质感和色彩,节约重新创意时间 p 前端专注CSS+JS,专注功能、体验
h"p://ui-‐pa"erns.com/pa"erns h"p://developer.yahoo.com/ypa"erns/ MODULARITY
MODULARITY h"p://tms.taobao.com
CSS3
h"p://lab.simurai.com/css/bu"ons/ CSS3 - @FONT-FACE
h"p://code.google.com/webfonts CSS3 - @FONT-FACE
h"p://www.zhouqicf.com/demo/css/2010/bu"on_maker/bu"on_maker.html CSS3 - BORDER-RADIUS
h"p://my.koubei.com/jiayuan/home.html CSS3 - BOX-REFLECT
CSS3 - TEXT-STROKE
h"p://slides.html5rocks.com/#slide34 CSS3 - TEXT-SHADOW
h"p://www.zhouqicf.com/html-‐css/content-‐and-‐webkit-‐mask-‐image CSS3 - -WEBKIT-MASK-IMAGE
CSS3 - GRADIENTS
h"p://westciv.com/tools/gradients/index.html CSS3 - GRADIENTS
CSS3 - GRADIENTS h"p://westciv.com/tools/radialgradients/index.html
CSS3 - BOX-SHADOW
h"p://westciv.com/tools/shadows/ text-‐shadow:7px 7px 10px #333333; CSS3 - BOX-SHADOW
CSS3 - OPACITY Border-‐color、background-‐color、color、outline…
CSS3 - TRANSFORM h"p://westciv.com/tools/transforms/index.html
CSS3 - ANIMATION h"p://www.zurb.com/playground/css3-‐polaroids
CSS3 - ANIMATION h"p://www.apple.com/html5/showcase/gallery/#grid2d
CSS3 …
CSS3 抛开限制, 尽情享受设计。 Restrictions aside and enjoy the design.
CSS3 性能、成本、效率。 Performance, cost, efficiency.
CSS3 渐进增强。 Progressive Enhancement. h"p://lifesinger.org/blog/2008/10/understand-‐progressive-‐enhancement/
p 样式类 – 公共Bu"on列表 – 公共ICON列表 –
翻页组件 – Logo列表 – 后台产品公用组件 p 组件类 – calendar日历组件 – 层叠数据选择器 – 图片上传裁切 – carousel轮播组件 – 富文本编辑器 – F2E:YKValidator – popup弹出层对话框 – 气泡 – wangwang h"p://kxt.koubei.com/wiki/index.php/F2E:KXT h"p://kxt.koubei.com/wiki/index.php/F2E:K2 F2E MODULES
p 视觉和前端的故事 – h"p://kxt.koubei.com/wiki/index.php/F2E:VD p Visual Firebug
– h"ps://chrome.google.com/extensions/detail/lomkpheldlbkkfiifcbfifipaofnmnkn p Css3 bu/on maker – h"p://www.zhouqicf.com/demo/css/2010/bu"on_maker/bu"on_maker.html p K2 bu/on\pagina8on\icon – h"p://kxt.koubei.com/k2/bu"on – h"p://kxt.koubei.com/k2/paginafon – h"p://kxt.koubei.com/k2/icon p 后台类组件 – h"p://kxt.koubei.com/product/manage/v1/demo/demo.php DONE & DOING
Tell us, what do you want. 你提需求, 我们来实现。
Q&A