GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Ana Tudor 🐯 (anatudor@mastodon.social)'s status on Tuesday, 26-Nov-2024 23:50:29 JST Ana Tudor 🐯 Ana Tudor 🐯
    • CodePen

    #tinyCSStip

    Ever want to mask something out of an element, but not cut out blur or box-shadow or a pseudo outside the element's border box?

    Well, subtract whatever you want masked out from a fully opaque layer with `mask-clip` set to `no-clip`!

    mask:
    conic-gradient(red 0 0) no-clip subtract,
    var(--masked-area)

    @codepen demo: https://codepen.io/thebabydino/pen/MYggKre

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

    In conversation about a year ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/113/548/521/186/290/631/original/268037d1edea9e5b.png

    • Joachim repeated this.
    • Embed this notice
      Ana Tudor 🐯 (anatudor@mastodon.social)'s status on Tuesday, 26-Nov-2024 23:50:29 JST Ana Tudor 🐯 Ana Tudor 🐯
      in reply to

      Also, let me show you something: search result for "mask-clip mdn" vs. when actually going to the MDN page.

      And no, `margin-box` doesn't work.

      #css #cssMask #code #coding #frontend #web #dev #webDev #webDevelopment

      In conversation about a year ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/113/548/689/526/427/932/original/48bec840a564df0c.png

      2. https://files.mastodon.social/media_attachments/files/113/548/690/517/155/002/original/57f9e60db1c705ac.png

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.