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

    early-camera-41285

    11/14/2022, 11:35 PM
    A question, since I don't really do JavaScript. I could only get the missing.js to work by putting it in the head element, though I would normally put js at the bottom of the body element. Is this as designed?
  • g

    gorgeous-airport-54386

    11/15/2022, 12:06 AM
    should work either way...
  • g

    gorgeous-airport-54386

    11/15/2022, 12:07 AM
    did you add
    type=module
    ?
  • g

    gorgeous-airport-54386

    11/15/2022, 12:07 AM
    any error message?
  • g

    gorgeous-airport-54386

    11/15/2022, 12:07 AM
    we have scripts in the middle of the body on missing.style and they work
  • e

    early-camera-41285

    11/15/2022, 1:55 AM
    Well, I can't explain why I was having trouble before. Now the scripts work just fine at the bottom of the body. Sorry for the concern
  • e

    early-camera-41285

    11/15/2022, 1:56 AM
    I like this idea
  • s

    swift-translator-13366

    11/17/2022, 12:03 PM
    Why not
    <blockquote>
    ?
  • e

    early-camera-41285

    11/17/2022, 1:02 PM
    A nonimportant question/observation: I've noticed that missing.css buttons do not set the cursor to pointer. So,
    <button/>
    and
    <a class="<button>"/>
    are a little different. It's something I've never thought of before: differentiating buttons from anchors-styled-as-buttons. Is there a little theory behind it?
  • g

    gorgeous-airport-54386

    11/17/2022, 1:47 PM
    "pull quotes" are repetitions of portions of the text itself, not taken from other texts
  • g

    gorgeous-airport-54386

    11/17/2022, 1:48 PM
    ok so i've thought a bit about this. what is essential to understand here is that i forgor
  • b

    boundless-vase-80440

    11/17/2022, 2:02 PM
    makes total sense. thanks for the lesson.
  • g

    gorgeous-airport-54386

    11/17/2022, 2:06 PM
    unfortunately a lot of design and typography terms are significantly older than semantic html
  • m

    mysterious-toddler-20573

    11/17/2022, 2:15 PM
    https://yeun.github.io/open-color/
  • m

    mysterious-toddler-20573

    11/17/2022, 2:15 PM
    found this today via @gorgeous-airport-54386 blog, very cool to see this integrated into missing.css
  • s

    swift-translator-13366

    11/17/2022, 2:42 PM
    I suspected as much, but nothing in "block quote" implies you're quoting from elsewhere. A pull quote is literally quoting yourself. That said, I can understand the use of
    <aside>
    , since a pull quote, by containing text that's already present in the main area, can be thought of as something that doesn't belong in that sequence of content, whereas a quote from elsewhere would. Good call 👍
  • g

    gorgeous-airport-54386

    11/17/2022, 2:50 PM
    you don't need to guess at the names of elements --- you can just look them up :] > The
    blockquote
    element represents a section that is quoted from another source. https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element:the-blockquote-element
  • s

    swift-translator-13366

    11/17/2022, 2:51 PM
    Oh cool, TIL 🙂
  • g

    gorgeous-airport-54386

    11/17/2022, 2:51 PM
    Also of interest is the
    mark
    element: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-mark-element
  • e

    early-camera-41285

    11/17/2022, 4:17 PM
    Ha, Brilliant. Well now I'm thinking (too much) about it. It has me wondering, if it is clickable, should it be a pointer? I've never paid attention before. So, I opened MS Word and there is not a pointer to be seen. Lots of buttons and other things to interact with, no pointer. I just checked VSCode and everything is a pointer. Buttons, links, toggles, everything. Is this because VSCode is actually just a web app? I dunno. In conclusion, I have no idea what UI theory has to say about this and I doubt there is a "right" way.
  • e

    early-camera-41285

    11/17/2022, 4:24 PM
    For making a custom theme in missing.css, should I be using the built-in css variables? It didn't occur to me until just now...
  • m

    mysterious-toddler-20573

    11/17/2022, 4:25 PM
    question for @gorgeous-airport-54386 would it be possible to add a depth variable, and make it possible to add some drop shadows to buttons, tabs, etc based on it?
  • g

    gorgeous-airport-54386

    11/17/2022, 6:38 PM
    you can if you want to. i originally put them in because i couldn't be bothered to make them be compiled out
  • g

    gorgeous-airport-54386

    11/17/2022, 6:38 PM
    they are undocumented so...
  • g

    gorgeous-airport-54386

    11/17/2022, 6:39 PM
    it's actually https://github.com/fchristant/colar that is in missing.css
  • b

    boundless-vase-80440

    11/17/2022, 8:14 PM
    @gorgeous-airport-54386, are there no visual differences between enabled and disabled buttons?
  • g

    gorgeous-airport-54386

    11/17/2022, 8:16 PM
    ...maybe
  • g

    gorgeous-airport-54386

    11/17/2022, 8:16 PM
    would you like to fix that?
  • b

    boundless-vase-80440

    11/17/2022, 8:17 PM
    I can try 🙂
  • g

    gorgeous-airport-54386

    11/17/2022, 8:17 PM
    the releavnt code is in src/main.css
1...394041...44Latest