home.social

#boxshadow — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #boxshadow, aggregated by home.social.

  1. Can you help me out, mastodon? 🦣

    I recall someone once writing in an article how shadows are supposed to be darker, so white shadows don't make sense even when we have a dark theme.

    Does anyone else recall it? Can anyone help me find it again?

    Boosts appreciated. Thanks!

    #CSS #boxShadow #code #coding #web #webDev #frontend #webDevelopment #dev

  2. [Перевод] Эффект матового стекла для веба

    В процессе разработки UI для игр Forza Horizon 3 и Forza Motorsport 7 я имел возможность поработать с потрясающими акриловыми матовыми элементами дизайна. Вдохновлённый этим дизайном, я захотел создать похожий эффект при помощи HTML. В этом посте я расскажу о своих попытках создания красивого эффекта стекла, а также представлю пример кода и ассетов для тех, кто захочет попробовать реализовать эту методику самостоятельно.

    habr.com/ru/articles/861290/

    #стекло #boxshadow #cssфильтры

  3. [Перевод] Думаете, вы всё знаете о box shadows?

    Я люблю box-тени. Четыре года назад я выяснил, что мой процессор M1 может рендерить безумное количество таких теней, поэтому решил извлечь из них максимум, и мне это удалось. Если вам интересно, как пользоваться box-тенями, чтобы создать современный стиль UX, то вы не по адресу. Но если вам нравятся творчество и эксперименты, то продолжайте чтение. Я хочу поделиться худшими примерами того, что можно сделать при помощи box-теней в одном div. Примерами, которые не должны работать, однако почему-то работают. Но прежде чем приступить, нужно ответить на вопрос: что же такое box-тень?

    habr.com/ru/articles/830902/

    #boxshadow #div #raytracing #трассировка_лучей #свойства_css #рендеринг

  4. Came across reddit.com/r/css/comments/1e9w AI-generated tailwind... don't know whether to laugh or cry...

    Here's a 0% AI, 0% tailwind, 100% human brain + hand-coded version I made in just a few min on @codepen codepen.io/thebabydino/pen/dyB

    Oh, and it's not in px, it's responsive.

    #CSS #boxShadow #code #coding #frontend #webDev #web #dev #webDevelopment

  5. Almost all solutions I've seen involve wrapping the image in a wrapper, then either moving it behind its parent or placing an absolutely positioned pseudo on top, such that another element/ pseudo on top gets the shadow.

    This means an extra element and often losing right click menu, save for the rare cases when the element on top of the img in z order gets `pointer-events: none`.

    #css #shadow #boxShadow #inset #code #coding #frontend #web #dev #webDev #webDevelopment #shadows

  6. Almost all solutions I've seen involve wrapping the image in a wrapper, then either moving it behind its parent or placing an absolutely positioned pseudo on top, such that another element/ pseudo on top gets the shadow.

    This means an extra element and often losing right click menu, save for the rare cases when the element on top of the img in z order gets `pointer-events: none`.

    #css #shadow #boxShadow #inset #code #coding #frontend #web #dev #webDev #webDevelopment #shadows

  7. Almost all solutions I've seen involve wrapping the image in a wrapper, then either moving it behind its parent or placing an absolutely positioned pseudo on top, such that another element/ pseudo on top gets the shadow.

    This means an extra element and often losing right click menu, save for the rare cases when the element on top of the img in z order gets `pointer-events: none`.

    #css #shadow #boxShadow #inset #code #coding #frontend #web #dev #webDev #webDevelopment #shadows

  8. Almost all solutions I've seen involve wrapping the image in a wrapper, then either moving it behind its parent or placing an absolutely positioned pseudo on top, such that another element/ pseudo on top gets the shadow.

    This means an extra element and often losing right click menu, save for the rare cases when the element on top of the img in z order gets `pointer-events: none`.

    #css #shadow #boxShadow #inset #code #coding #frontend #web #dev #webDev #webDevelopment #shadows

  9. Almost all solutions I've seen involve wrapping the image in a wrapper, then either moving it behind its parent or placing an absolutely positioned pseudo on top, such that another element/ pseudo on top gets the shadow.

    This means an extra element and often losing right click menu, save for the rare cases when the element on top of the img in z order gets `pointer-events: none`.

    #css #shadow #boxShadow #inset #code #coding #frontend #web #dev #webDev #webDevelopment #shadows

  10. CSS CHALLENGE:- How to create an inset #boxShadow around (and over the the top of all elements of the website) using only inline #CSS.

    Is it even possible?

    You cannot produce before and after element inline, can you?