-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In a conversation with Hai Nguyen (@hai-cea), he confirmed that the only reason for creating an inner div was preserving the two shadows. Since it's possible in CSS to apply two or more shadows to a single element, such nested structure is in my opinion redundant. The order of shadows matters: shadows for an element are applied top to bottom (first one goes on top), we had to put the child's shadows first.
- Loading branch information
1 parent
4505cf0
commit cb1fbd3
Showing
2 changed files
with
24 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters