How do we get an #markdown #web browser off the ground? Like, no #JavaScript or #CSS -- it reads .md files over HTTP/S and renders them. All style is user controlled. We go back to a document-centric 'Web without all this bullcrap
#CSS #JavaScript #Web #markdown
I made a dark mode toggle, which applies the .dark class to the body (body class="dark").
I used a SCSS mixin & see it at the bottom of the full stylesheet.
It's not overriding the body class properties.
I don't know what I'm doing wrong.
Codes:
@Media (prefers-color-scheme: dark) {@include dark-mode;}
@mixin dark-mode {
body {
&.dark {
background: $color-darkgrey;
color: $color-cream;
}
}
}
Using !important doesn't help.
#webdesign #WordPress #darkmode #scss #CSS
Regarding #simplicity 👆
Have a look at #ArkUI
It is a "fully customizable, #accessible and #unstyled #UI component [framework]".
No #Bootstrap. No #Bloat. Just use your own #CSS. Love it! ❤️
I've just used their Select component and it works so intuitively!
They have a guide on how to style their components (there are multiple ways):
https://ark-ui.com/docs/vue/overview/styling
#simplicity #arkui #accessible #unstyled #UI #bootstrap #bloat #CSS #webdev #webDevelopment #vue #React #solid #a11y
Uh oh ... WP devs, check this out - #WordPress is shipping some really weird #CSS
https://dbushell.com/2023/08/16/wordpress-6-3-breaking-decades-of-css/
so #CSS gets nesting soon, right?
but & won't be mandatory. and also,
```css
.a {
.b { color: red; }
}
```
is valid, but
```css
.a {
div { color: red; }
}
```
is not valid, it requires `&`
I swear people who are writing standards for web platform are just f--king with devs at this point
Why doesn't CSS provide any options for adding character based fallback options? Seemingly only the browser itself can do this. It would be nice to be able to provide some options here. #l10n #css #webstandards #webbrowsers #w3c
#l10n #CSS #webstandards #WebBrowsers #w3c
Re-sharing this great tip for how to make tooltips and other temporarily-attached elements faster by avoiding a whole-page layout recalculation: https://atfzl.com/articles/don-t-attach-tooltips-to-document-body/
We did this for @ThisIsDIM and got a big performance boost, and then encoded it into a special helper: https://github.com/DestinyItemManager/DIM/blob/master/src/app/utils/temp-container.ts
Of the people using #CSS layers, how many of you are having issues with browser support?
The reason I've not switched real projects to it yet is the lack of a fall-back / progressive-enhance strategy. But it looks like it's a tech that's been available in browsers for over a year now.
A subtoot for everyone saying Tailwind is bad.
You used it to style a whole ass app and ran into a wall?
Did you have a design system to work with?
Were you building reusable components?
Did you notice it helps avoiding CSS bloat?
Did you notice that devs who don't know CSS have less problems, because when learning Tailwind, they learn CSS too?
Were you constantly extending your Tailwind config?
25+ years with CSS. And I like Tailwind. AMA
#css subgrid when? I can not believe this is a Chrome hold-back.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Subgrid