Kroc Camen · @kroc
67 followers · 606 posts · Server mstdn.social

How do we get an browser off the ground? Like, no or -- 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

Last updated 1 year ago

Sarah · @starrymom
14 followers · 94 posts · Server mstdn.social

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

Last updated 1 year ago

Knowledge Zone · @kzoneind
309 followers · 1868 posts · Server mstdn.social

: and for Beginners.

Some common resources and exercises to get started with HTML and CSS.

knowledgezone.co.in/posts/6262

#CSS #HTML #itbyte

Last updated 1 year ago

Sinclair-Terminal · @SinclairSpeccy
647 followers · 14638 posts · Server bitbang.social

:P I think this looks neat, but how to fix, adjust and refine this?

#CSS #HTML

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
599 followers · 4644 posts · Server floss.social

Regarding 👆

Have a look at

ark-ui.com/

It is a "fully customizable, and component [framework]".

No . No . Just use your own . 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):
ark-ui.com/docs/vue/overview/s

#simplicity #arkui #accessible #unstyled #UI #bootstrap #bloat #CSS #webdev #webDevelopment #vue #React #solid #a11y

Last updated 1 year ago

Kevin Karhan :verified: · @kkarhan
1478 followers · 106924 posts · Server mstdn.social

@dbread 10/10 can only recommend...

Basically it does simply shove a on top to "darkify" sites...

And that's good...

#CSS

Last updated 1 year ago

Matt Wilcox · @mattwilcox
570 followers · 3288 posts · Server mstdn.social

My god do I want sub-grid, please and thank you.

#CSS

Last updated 1 year ago

Ian K. Rogers ikr?╭ರ_ಠ · @ianrogers
81 followers · 358 posts · Server mstdn.social

Uh oh ... WP devs, check this out - is shipping some really weird

dbushell.com/2023/08/16/wordpr

#CSS #WordPress

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
586 followers · 4357 posts · Server floss.social

Wait, what!? doesn't support scoped styles by default!?😱

*happily goes on and creates a new component*😊

#React #CSS #vue

Last updated 1 year ago

Braw :blob_cat_melt: 🏳‍🌈 · @brawaru
86 followers · 1543 posts · Server mstdn.social

so 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

#CSS

Last updated 1 year ago

LaPingvino 🟙 :ir: · @lapingvino
309 followers · 2230 posts · Server neurodifferent.me

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

Last updated 1 year ago

Daudix UFO 🦆 · @Daudix
95 followers · 633 posts · Server mstdn.social

rem are genius, finally understood the difference from em

#CSS

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
581 followers · 4295 posts · Server floss.social

@heapwolf So true! When building UI applications people really should use and web technology (unless they have a _very specific reason_ not to).

The has won!

#CSS #web

Last updated 1 year ago

Jim Roberts · @jrnoded
53 followers · 351 posts · Server mstdn.social

Thinking all night about what would be the advantage to using color-mix() in CSS. When it comes down to it the color you produce can still be described as a hex number.

#CSS #colormix

Last updated 1 year ago

Ben Hollis · @bhollis
58 followers · 112 posts · Server mstdn.social

Re-sharing this great tip for how to make tooltips and other temporarily-attached elements faster by avoiding a whole-page layout recalculation: atfzl.com/articles/don-t-attac

We did this for @ThisIsDIM and got a big performance boost, and then encoded it into a special helper: github.com/DestinyItemManager/

#CSS #JavaScript

Last updated 1 year ago

lucy_who · @lucy_who
87 followers · 438 posts · Server mstdn.social

Any devs who fear that ChatGPT is going to take their jobs should spend an afternoon trying to get it to write CSS.

#frontend #CSS #openai #chatgpt #WebDev #Dev

Last updated 1 year ago

Matt Wilcox · @mattwilcox
559 followers · 3106 posts · Server mstdn.social

Of the people using 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.

#CSS

Last updated 1 year ago

kaspi · @kaspi
26 followers · 1295 posts · Server mstdn.social

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

#tailwindcss #WebDev #CSS

Last updated 1 year ago

Amy 🌸 🌻 · @accessamy
201 followers · 668 posts · Server mstdn.social

Wait, what?

<img alt="" class="img-img img-img--center" role="img" src="...

#Accessibility #a11y #CSS

Last updated 1 year ago

Matt Wilcox · @mattwilcox
559 followers · 3106 posts · Server mstdn.social

subgrid when? I can not believe this is a Chrome hold-back.

developer.mozilla.org/en-US/do

#CSS

Last updated 1 year ago