Since this is just a mockup im working on does anyone know any CSS rule that could help me align the stuff in the sidebar? I know how to use flexbox to make it line up vertically but this is like a diagonal thing that follows what I assume will be a divs rotated edge. Any way I can do this?
Dexie is a great tool for persistently storing data in a #PWA context and today they finally released a way to sync that data without having to run your own servers: Dexie Cloud.
I’m planning on taking a deeper look at it next month, but I’m pretty excited for it! Tools like this could make side-projects that sync so much easier. 😊
I've been fighting with some code snippets to handle ad-hoc switching of a page's color scheme (light/dark) via a toggle button.
The behavior that I wanted is to default to the system preferred color scheme if no value is present in the site's local storage.
When the button is clicked, it stores the preference in local storage and that takes precendence over the system preferred color scheme. Thus, this allows you to continue to browse the site based on the selected color scheme.
The problem I ran into was that the state between the system preferred color scheme and the "default" would conflict and using the toggle button would sort of re-sync things. Well, at least until you reload the page and it breaks again.
The issue? The code snippet does not fetch the value set in local storage and sets the color scheme on init.
ok my fellow #eleventy geeks - i have a client that potentially wanna use 11ty but as he said "is it just a bunch of nerds building some webstuff"
I have offcourse smacked him with a stick and said "belive me its awesome(tm) it goes to 11" but is there any bs-promo-material or usecases besides of a ton of small blog like webprojects ?
Do you feel confident in your knowledge of the core accessibility considerations?
@iheni's latest blog post in the accessibility foundations series explores core considerations vital for designing and developing inclusive products and services. From animations to interactions to HTML semantics, this series serves as an essential starting point for designers and developers alike.
As the creator of #Symfony, our Silver Sponsor Sensiolabs offers official training courses on the framework. In this article, they talk about their new Symfony 7 training programmes > https://bit.ly/3VnScf1