https://htmx.org logo
Join Discord
Powered by
# missing_dot_css
  • m

    mysterious-toddler-20573

    03/06/2023, 9:03 PM

    https://www.youtube.com/watch?v=lt-udg9zQSE▾

  • g

    gorgeous-airport-54386

    03/06/2023, 9:04 PM
    Copy code
    bash
    for dir in  releases/_artifacts/*; do jq <package.json '.version = "'$(basename $dir)'"[1:] | .files = ["*"]' > "$dir/package.json"; done
    for dir in  releases/_artifacts/*; do cp README.md LICENSE "$dir"; done
    for dir in  releases/_artifacts/*; do (cd "$dir" && npm pack); done
  • m

    mysterious-toddler-20573

    03/06/2023, 9:05 PM
    > Where have you been? > It's alright, we know where you've been
  • g

    gorgeous-airport-54386

    03/06/2023, 9:18 PM
    oh yeah, forgot it does that
  • l

    limited-teacher-83117

    03/13/2023, 10:08 PM
    a bash script should horrify you in proportion with its utility
  • l

    limited-teacher-83117

    03/13/2023, 10:09 PM
    like the hot-crazy ratio but with footguns instead of misogyny
  • f

    future-leather-60338

    03/26/2023, 4:21 PM
    Hi, I am Dan. I am doing a "CRUD" project with missing.style.css and htmx and CfWheels and . Trying to make a SPA-like-app in HTMX. Code is based upon https://github.com/chapmandu/cfwheels-htmx-crud QUESTION: In my /views/layout.cfm, after I include #styleSheetLinkTag("https://the.missing.style,custom")# , how do I change the default character width of field(s) using css to "25em" ? It fits only 12 "W" characters in the field, want to make it fit 25 "W" characters.
  • l

    late-king-98305

    03/26/2023, 9:55 PM
    You should be able to put a style tag in just below that, then specify the changes. (It needs to be after to override what comes before.) Something like
    input[type=text] { width: 25em; }
    (you'll want to specify the type, because there are many UI elements that use input as their tag)
  • https://www.aha.io/engineering/articles/css-is-hard-no-matter-how-good-you-are-at-it
    m

    mysterious-toddler-20573

    03/29/2023, 8:03 PM
    https://www.aha.io/engineering/articles/css-is-hard-no-matter-how-good-you-are-at-it
  • https://news.ycombinator.com/item?id=35361628
    m

    mysterious-toddler-20573

    03/29/2023, 8:03 PM
    https://news.ycombinator.com/item?id=35361628
  • I barely understand the css box model
    m

    mysterious-toddler-20573

    03/29/2023, 8:03 PM
    I barely understand the css box model
  • Interesting comment: https://news.ycombinator.com/item?id=35362424
    m

    mysterious-toddler-20573

    03/29/2023, 8:04 PM
    Interesting comment: https://news.ycombinator.com/item?id=35362424
  • Can you have different grids per breakpoint as a class on missing.css ? or am i supposed to write my media queries?
    c

    cuddly-keyboard-70746

    04/12/2023, 9:24 AM
    Can you have different grids per breakpoint as a class on missing.css ? or am i supposed to write my media queries?
  • oh i didnt know that was a thing. I was only reading demos. I will check the doc, thx
    c

    cuddly-keyboard-70746

    04/12/2023, 9:28 AM
    oh i didnt know that was a thing. I was only reading demos. I will check the doc, thx
  • c

    cuddly-keyboard-70746

    04/16/2023, 5:58 AM
    Begginer missing.css user with a hot take... how about using vw's (aka responsive text) for missing.css text? Is there an easy way for me to override all and turn in into responsive? right now I am settings styles in my text elements.
  • g

    gorgeous-airport-54386

    04/16/2023, 5:59 AM
    just set font-size on html. we use ems and rems for everything
  • g

    gorgeous-airport-54386

    04/16/2023, 5:59 AM
    however: using vw for font sizes makes your font unzoomable
  • c

    cuddly-keyboard-70746

    04/16/2023, 6:00 AM
    what a problematic side effecvvt
  • c

    cuddly-keyboard-70746

    04/16/2023, 6:00 AM
    ok, sounds like font size on html and regular css media queries is the answer
  • c

    cuddly-keyboard-70746

    04/16/2023, 6:01 AM
    i was trying to avoid media queries for whatever reason, but seems like i cant escape them
  • s

    swift-translator-13366

    04/22/2023, 5:09 PM
    How so? I use vw-based font size in my Downstyler project, and I can still zoom the text: https://waldyrious.net/downstyler/comparisons/demo-downstyler.xhtml (the relevant CSS: https://github.com/waldyrious/downstyler/blob/e29e160/downstyler.css#L17-L18)
  • g

    gorgeous-airport-54386

    04/22/2023, 5:15 PM
    That's the clamp() at work, the VW is active for such a brief interval that it doesn't matter.
  • s

    swift-translator-13366

    04/22/2023, 6:22 PM
    It may be brief in terms of the absolute interval of font sizes, but it's pretty broad in terms of the screen widths it applies to (the most common screen widths fall within that range, IIRC from when I first implemented it)
  • s

    swift-translator-13366

    04/22/2023, 6:48 PM
    Update: documented the range of dynamic font sizing (600px–1240px): https://github.com/waldyrious/downstyler/blob/3b3ee21/downstyler.css#L17-L19
  • m

    microscopic-nest-97218

    05/09/2023, 9:35 PM
    Hey! Can dark mode be toggled or does it only follow the system preference?
  • g

    gorgeous-airport-54386

    05/11/2023, 3:52 PM
    you can add
    no-dark-theme
    to the
    html
    element to disable it. no way currently to turn it on and off
  • g

    gorgeous-airport-54386

    05/11/2023, 3:53 PM
    the
    color-mix()
    function is in all browsers soon (firefox has it behind a flag). This will let us cut back on the number of color variables as we can generate them
  • m

    microscopic-nest-97218

    05/11/2023, 4:43 PM
    Thanks! That will do 👍
  • m

    microscopic-nest-97218

    05/11/2023, 4:44 PM
    color-mix()
    was new for me, awesome!
  • m

    mysterious-toddler-20573

    05/24/2023, 1:42 PM
    https://twitter.com/AdamChainz/status/1661338251750146048