Chapter 7. Resolving Classic Problems
As a frontend developer, you are always dealing with classic CSS problems. The most known and repeatable issues are centering elements in both axes and opacity. With current CSS, you can do it pretty simple, but you need to have a foundation to know how to do it. Knowledge about fallbacks of previous versions of browsers can be used in some other further techniques. That's why they are added to this chapter.
In this chapter, we will:
- Learn how to center elements in both axes
- Learn how to deal with opacity
- Gather both the preceding tricks and create an effect similar to the trendy lightbox effect