Figma / How to add stroke to only one side of an object

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 7

  • @zevachseon
    @zevachseon 2 года назад

    In 39 secs you solved something I was working on for 42 mins. Thank you!!

  • @ubermac85
    @ubermac85 3 года назад +3

    Sad that it has to be done this way in such a robust tool. But the dropshadow hack is not uncommon even in live code. This is the same technique to get a thicker focus border without shifting the alignment of everything below it.

  • @FunnForRap
    @FunnForRap 2 года назад

    This is cool, thanks Danny!

  • @micseaton
    @micseaton 3 года назад +1

    This is cool! I was looking to do this in the stroke panel, so how does it render out for the code, a drop shadow? Are there any notes needed to be left for the dev's?

    • @ubermac85
      @ubermac85 3 года назад

      Yes it would be a box-shadow. This is the same technique to get a thicker focus border without shifting the alignment of everything below it.

  • @milindkhadse556
    @milindkhadse556 3 года назад

    Thank you, it's very helpful

  • @albretrussell4860
    @albretrussell4860 2 года назад

    thansk