348 private links
A good starter to use cases for the :has() selector
- use
productinstead of nested python for-loops - use the walrus operator for assignment expressions
- use ternary conditional operator if the assignment is simple
- use lambda function to define simple functions
- use list comprehensions
- leverage the Higher Order functions of python such as map and other iterable functions.
- use union operators to merge dictionaries
- use f-strings to format strings
- use asteriks for unpacking iterables and destructuring assignment
Featured components that are ready to be styled.
A pure HTML vue library. CSS is free :)
It uses the sqlean-fileio extension. It allows to import/export data from files such as JSON :)
It can be useful in some cases: to declare variables in the <template> directly.
An example of optimisation
A great example!
Some dark/light mode toggles
How to handle spacing between css elements in one line of code?
.flow > * + * {
margin-block-start: var(--flow-space, 1em);
}Vérifier la validité des liens d'une page et y ajouter une classe .status comme .status404
Another component library for vue :)
The components look clean. Demo: https://www.naiveui.com/
So since we can't share the components across different branches in the component tree, we could actually hoist them to the root so they become independent from the routes.
Startport allows to have transitions between vue pages.