387 private links
Now it gets nice and clean ❤️
- Use a outline to think clearly
- Write in a conversational tone
- Avoid to embellish, write natural
- Be direct and concise
- Eliminate unnecessary words, especially adjectives
- Flow creates impact, so alternate between short and long sentences.
- Write and write
git fetch --all --prune: drop all removed upstream branchesgit gc --aggressive: compress the .git repo
😍
A layout shift is what happens when an update in a web page causes something to move significantly.
- Using absolute/relative position but is is tricky.
- grid solution: placing the content in a cell of a grid, and use a visibility: hidden for every view. The biggest one will be wrapped or calculated, which prevent the layout shift !
TL;DR: only fetch the branch master on large repository 👍
if you have Foo and FooBuilder, consider adding a builder method to Foo
that returns the Builder of course
Ok lorsque la recherche doit être ultra-précise. DuckDuckGo propose aussi d'affiner et de mieux contrôler ses recherches.
text-shadow: 0 0 1px rgba(0,0,0,0.3);
Put all the items in the same cells
header {
display: grid;
grid-template-areas: "heros";
> * {
grid-area: hero;
}
}
Hero 1 summary
object-fitused to controlimgsize
align-items: centerused to vertically align the grid children
Hero 2 summary
created a color screen over the
imgby definingbackground-colorof theheaderwithrgbaand addingz-index: -1to theimgto slide it behind theheader
used pseudo-elements for additional design flair, and positioned them separately from the parent grid definition withplace-self
Hero 3 summary
use of a wrapper to provide a secondary grid layout for content versus
headerdesign elements
creation of auto-width columns withgrid-template-columns
Leveragingvminto minimize padding on smaller viewports and increase it for larger viewports
- aller sur https://sharedrop.io
- partager le lien de la room par envoi d'un SMS via l'API de Free
- ouvrir le lien reçu
- envoyer le fichier depuis l'ordinateur
- accepter l'envoi depuis le smartphone 😍
- Switch the Grid Flow Axis :
grid-auto-flow: column; - XY Center Anything :
place-content: center;(on any child) - Intrinsically Responsive Grid Columns
:root {
--grid-col-breakpoint: 15rem;
}
.grid-columns {
grid-template-columns: repeat(auto-fit, minmax(var(--grid-col-breakpoint), 1fr));
}