- From: Danetone via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 May 2019 23:40:08 +0000
- To: public-css-archive@w3.org
Danetone has just created a new issue for https://github.com/w3c/csswg-drafts: == Idea for CSS4: 'box-depth' == I have an idea for CSS4, which would make it much easier to create 3D images, such as cubes. By adding a depth property, a developer can easily create a box any size or shape he would so desire, rather than going through the arduous task of creating long transforms. Example: to make a cube of 100px, the code would simply be #my-cube { box-width: 100px; box-height: 100px; box-depth: 100px; } And it wouldn't have to just be a cube, but any box shape. The width and height and depth could all be different. And also, if the developer made a screen-size 3D box, what if he were able to put text, or images, or even whole pages within that box at varying z-axis levels. So items within a 3d box div could have different z-indexes, and the z-indexes wouldn't just be used for stacking, but would have actual depth value to them. Rather than just saying, z-index: -1; he could say z-index: -50px; or z-index: -10%; etc. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3984 using your GitHub account
Received on Wednesday, 29 May 2019 23:40:10 UTC