Publishers of technology books, eBooks, and videos for creative people
Steven Bradley discusses the benefits of CSS animations vs. transitions in this chapter from CSS Animations and Transitions for the Modern Web.
Selective styling is the closest that CSS gets to traditional computer programming, allowing you to style elements if they meet certain criteria. This level of styling can get increasingly complex, so Jason Cranford Teague uses this chapter to start out as simply as possible and build a firm foundation of understanding.
In this chapter, you’ll learn about fonts and text, and the respective CSS properties you can use to style them. You'll also learn about the wonderful world of Web fonts, which download to your user along with your pages.
Opera's Chris Mills, author of Practical CSS3: Develop and Design, provides top tips for optimizing your web layouts for as many different devices and users as possible.
I'm trying to figure out how exactly iBooks treats an ePub file: which formatting it preserves and which it ignores. The fact that it ignores any at all, is incredibly short-sighted. Nevertheless, given that limitation, it seems like a good idea to at least quantify what we’re dealing with so that those who wish to design a book can have a safe idea of what it might look like, once it’s on the iPad.
Yesterday, I noted that Apple's sample Winnie-the-Pooh eBook had text that wrapped around the image at the beginning of each chapter and that I'd like to know how it did that. According to the OPS spec, CSS position properties (like absolute and fixed) are strongly discouraged. I originally interpreted that as applying to the float property as well, but that does not seem to be the case.
I've been looking at the iBooks app with an eye toward designing e-books for the iPad, and have a first collection of observations I hope you find useful.
Q: Should I use Hex or RGB values to define colors in CSS?
The short answer is RGB.
The slightly longer answer is that Hex values have become the de facto standard for use in CSS code and both developers and designers are used to them.
The long answer is that, in the final design on the screen, there is no difference between using Hex or RGB values in your code. Which system you use is really a matter of you own personal preference (and those of the team you are working with) as to whether or not you use Hex or RGB values to define colors.