andybrewer / mvp

MVP.css — Minimalist classless CSS stylesheet for HTML elements
https://andybrewer.github.io/mvp/
MIT License
4.98k stars 192 forks source link

details and summary #104

Closed diomed closed 1 year ago

diomed commented 1 year ago

I'd really like for details and summary to not have default triangle but something else I noticed you're not agreeing to linking svg icons, so here is CSS only version. if you could maybe incorporate

https://codepen.io/stoumann/pen/ExydEYL

andybrewer commented 1 year ago

JavaScript is outside the scope of MVP.css. Our goal isn’t to be a fully comprehensive style sheet, but just a set of minimal defaults to ship a site quickly. As such, the default details and summary styles seem fine to me.

On Sat, Jul 22, 2023 at 4:47 AM May Kittens Devour Your Soul < @.***> wrote:

I'd really like for details and summary to not have default triangle but something else I noticed you're not agreeing to linking svg icons, so here is CSS only version. if you could maybe incorporate

https://codepen.io/stoumann/pen/ExydEYL

— Reply to this email directly, view it on GitHub https://github.com/andybrewer/mvp/issues/104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABXNNG6XJNM2DQTQ7BREDXROHR5ANCNFSM6AAAAAA2TWQ6UA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Andy Brewer

diomed commented 1 year ago

javascript is not needed for this to function.

you can remove all code in JS window and it will still function normally and display css icons