Give help. Get help.
How is this being done?
There’s only one div but some how the SCSS is replicating it, rather than just styling it.
Can someone please explain this?
It’s a massive exercise in box-shadows.
Kinda like this one from a few days ago.
I don’t really understand how it works though. I guess I’ll just have to look at the code some more.
The way I would do it it is to have like 1000 divs. This looks much more efficient.
So basically, the root if you will, and the rest of the squares are just offset box shadows?
Exactly, they are just lines and lines and lines of duplicated box-shadows with different coordinates. I did a super simple one you can see here.
The confusion for me is in the scss method. Clearly I’ve got a lot of gaps in how to use sass :P
You must be logged in to reply to this topic.