Re: [csswg-drafts] allow elements to escape the scroll container (#9107)

I've asked about this feature too 🙂 

Here's a supportive component / use case for letting box-shadow exceed the scrollport:  
https://gui-challenges.web.app/carousel/dist/

The design required padding-bottom to be enough so the shadows on the cards aren't cutoff. Original design had larger shadows but the amount of padding required for it, looked silly, so we compromised and found a middle ground between shadow size and block-end padding. 

Here's **the problem** visualized, all I needed to do was put the larger box shadow back on the card:
<img width="1021" alt="Screenshot 2023-07-25 at 10 32 08 AM" src="https://github.com/w3c/csswg-drafts/assets/1134620/a5231873-1d2c-4c8c-a129-86db0501f52a">

and what was wanted:
<img width="1021" alt="Screenshot 2023-07-25 at 10 32 21 AM" src="https://github.com/w3c/csswg-drafts/assets/1134620/17f8f2c2-b873-4a45-9218-ba47e61aef1b">



-- 
GitHub Notification of comment by argyleink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9107#issuecomment-1650254725 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 25 July 2023 17:34:12 UTC