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

    gorgeous-airport-54386

    02/27/2022, 10:14 PM
    Copy code
    * (master)
    |
    * (v0.2.2, the)
    |
    * (v0.2.1)
    |
    :
    '
  • m

    mysterious-toddler-20573

    02/28/2022, 12:47 AM
    https://twitter.com/coreload/status/1498091863122661377
  • m

    mysterious-toddler-20573

    02/28/2022, 12:47 AM
    https://twitter.com/xhxy/status/1498084208392159232
  • m

    mysterious-toddler-20573

    02/28/2022, 12:47 AM
    there is interest here
  • m

    mysterious-toddler-20573

    02/28/2022, 6:21 PM
    a hyperscript missing.css generator
  • m

    mysterious-toddler-20573

    02/28/2022, 6:23 PM

    https://www.youtube.com/watch?v=0QYjFzFvJk4▾

  • b

    brainy-ice-92385

    02/28/2022, 8:04 PM
    Suggest name change from "Power Structures" to "c-c-c-COMBOs"
  • b

    brainy-ice-92385

    02/28/2022, 8:04 PM
    also, "Combonents"
  • m

    mysterious-toddler-20573

    02/28/2022, 8:07 PM
    Sty-Combinators
  • m

    mysterious-toddler-20573

    03/03/2022, 2:46 PM
    that is looking fantastic deniz
  • g

    gorgeous-airport-54386

    03/03/2022, 2:47 PM
    oops, a rogue navbar in the screenshot
  • m

    mysterious-toddler-20573

    03/03/2022, 2:48 PM
    one thought I've had for a long time w/ forms: people often use tables to get labels to line up. I think you can give non-tables a table layout mechanism and I always wondered if that was the right thing as an option. Just a thought, haven't looked deeply into it.
  • g

    gorgeous-airport-54386

    03/03/2022, 2:48 PM
    I tried to do it with css grid + subgrid
  • g

    gorgeous-airport-54386

    03/03/2022, 2:48 PM
    Couldn't make it work
  • g

    gorgeous-airport-54386

    03/03/2022, 2:49 PM
    Maybe I'll try display:table
  • m

    mysterious-toddler-20573

    03/03/2022, 3:10 PM
    Pragmatic!
  • m

    mysterious-toddler-20573

    03/03/2022, 3:12 PM
    “Don’t use tables for layout”
  • s

    stocky-dentist-80693

    03/03/2022, 4:15 PM
    When I've needed to use simple grids in legacy systems, I've added PocketGrid, which uses `display:table`: https://arnaudleray.github.io/pocketgrid/
  • p

    powerful-evening-99811

    03/03/2022, 4:17 PM
    grid + flex has largely subsumed my usage of tables for layout
  • m

    mysterious-toddler-20573

    03/03/2022, 4:18 PM
    Can you make labels line up w this approach? Can you post an example?
  • p

    powerful-evening-99811

    03/03/2022, 5:25 PM
    sure, do we have an example paste/fiddle we can iterate on?
  • m

    mysterious-toddler-20573

    03/03/2022, 6:38 PM
    nope, but you could use the template code from here: https://missing.style/demos/html5/#forms__input
  • p

    powerful-evening-99811

    03/05/2022, 6:41 AM
    maybe i'm not getting it, the labels seem to be lined up in the demo template
  • m

    mysterious-toddler-20573

    03/05/2022, 1:35 PM
    this is the effect we are loooking for, w/ the labels all having the same width in the same manner that table columns do
  • m

    mysterious-toddler-20573

    03/05/2022, 1:35 PM
    w/o the user needing to intervene
  • m

    mysterious-toddler-20573

    03/05/2022, 1:36 PM
    @User i think it would be more "standard" to have the active button sunk here:
  • r

    refined-waiter-90422

    03/05/2022, 11:59 PM
    I feel ya, but yes grid is traditional table layouts within CSS. Probably doesn't line up with what you guys are doing with missing.css, but my mantra is "everything is ``". then I just throw grid and flex in there to build out any layout.
  • r

    refined-waiter-90422

    03/06/2022, 12:01 AM
    its funny that after all these years CSS mostly landed on grid, which is just tables.
  • g

    gorgeous-ghost-95789

    03/07/2022, 4:15 AM
    Yes. It feels disingenuous to say “don’t use tables” and then just make DIVs act just like tables. But every time I start hating on CSS designers too much, I remind myself that a will always be a table, and they use s instead to use media queries and switch up the display on smaller screens. That’s the ONE reason to keep all the unholiness.
  • g

    gorgeous-airport-54386

    03/07/2022, 7:34 PM
    https://id430.denizaksimsek.com/
1...141516...44Latest