Book Image

Professional CSS3

By : Piotr Sikora
Book Image

Professional CSS3

By: Piotr Sikora

Overview of this book

CSS is the preferred technology to design modern web pages. Although CSS is often perceived as a simple language, applying modern styles to web pages with CSS and maintaining the code for larger websites can be quite tricky. We will take you right from understanding CSS to designing high-quality web pages in CSS3. We'll quickly take you through CSS3's features, and show you how to resolve common issues so you can build your basic framework. Finally, you will learn about code architecture and CSS methodologies used in scalable apps and you'll explore the various new features of CSS3, such as FlexBox, to help you create the most modern layout methodologies. By the end of the book, you will be a master at creating pure CSS web pages and will know sophisticated web design techniques, giving you an edge over other web designers.
Table of Contents (21 chapters)
Professional CSS3
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Self-optimization


The optimization process starts when you start writing code. Awareness of what you can optimize and how it should appear during writing a code is essential. After the writing process, when you start optimization, it can be pretty hard to refactor and restructure the code. But it is easy to build code and automatically append optimization processes. Which of these processes can you perform during the writing of code?

  • Usage of short forms

  • Omit usage of !important

  • Omit usage of IDs

A few steps before you push code live

In the code creation process, there are a few repeatable steps:

  • Writing code

  • Testing code

  • Pushing code live

The processes are sometimes repeatable, especially when they are related to projects built in The Lean Startup methodology by Eric Ries and projects with multiple stages. You need to remember these few steps before you push code live:

  • Check whether short forms are used

  • Check whether elements/declarations are duplicated

  • Check whether elements/declarations are used...