官术网_书友最值得收藏!

Chapter 2. Let's Get Stylish

"In matters of style, swim with the current; in matters of principle, stand like a rock." – Thomas Jefferson

In this chapter, we will put on our graphic designer hats and do some styling. Right now our task list application that we created in the first chapter works but it looks like something from 2005. We will bring it up to the present and into the future using CSS3 to give it a clean, modern look. We will add rounded corners, shadows, gradients, and transitions using the latest CSS3 features. We will also use CSS sprites to add some images to the task list buttons.

In this chapter we will learn:

  • New ways to specify colors in CSS3 and set transparencies
  • How to add rounded corners to elements
  • How to add shadows to elements and text
  • How to draw gradients in element backgrounds
  • New CSS3 background properties
  • How to use CSS sprites in your applications
  • How to use transitions and transforms to add effects to the user interface
  • How to dynamically load stylesheets to create customizable user interfaces
主站蜘蛛池模板: 龙门县| 安乡县| 合作市| 青神县| 新沂市| 永靖县| 信丰县| 徐州市| 民县| 乐山市| 津南区| 龙川县| 邛崃市| 新源县| 舟山市| 封丘县| 新蔡县| 九龙城区| 枣庄市| 龙州县| 平舆县| 平远县| 合山市| 双峰县| 蒙阴县| 铅山县| 南陵县| 江源县| 康保县| 库伦旗| 广宗县| 许昌县| 阿拉善盟| 哈密市| 福贡县| 尤溪县| 保定市| 赫章县| 宜丰县| 绍兴县| 玉溪市|