home.social

#ffecb3 — Public Fediverse posts

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

fetched live
  1. CSS question: I'm playing with container query units (cqw, cqh, cqmin) but for some reason the values seem to be based on the viewport / body instead of the container.

    ```
    .container {
    position: relative;
    width: 200px;
    height: 100px;
    background-color: #FFECB3;
    }
    .container > div {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100cqw;
    height: 100cqh;
    outline: 2px solid #F44336;
    outline-offset: -2px;
    }
    ```

    Codepen: codepen.io/rejh/pen/ExzzQVP