1471 links
  • linx
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
  • ► Play Videos
Links per page: 20 50 100
page 1 / 1
2 results tagged flexbox x
  • thumbnail
    Les concepts de base pour flexbox - CSS : Feuilles de style en cascade | MDN
    May 11, 2020 at 8:09:22 PM UTC - permalink -
    QRCode
    - https://developer.mozilla.org/fr/docs/Web/CSS/CSS_Flexible_Box_Layout/Concepts_de_base_flexbox
    css flexbox front-end mdn
  • Vertical Centering — Solved by Flexbox — Cleaner, hack-free CSS

    The lack of good ways to vertically center elements in CSS has been a dark blemish on its reputation for pretty much its entire existence.

    What makes matters worse is the techniques that do work for vertical centering are obscure and unintuitive, while the obvious choices (like vertical-align:middle) never seem to work when you need them.

    The current landscape of vertical centering options ranges from negative margins to display:table-cell to ridiculous hacks involving full-height pseudo-elements. Yet even though these techniques sometimes get the job done, they don’t work in every situation. What if the thing you want to center is of unknown dimensions and isn’t the only child of its parent? What if you could use the pseudo-element hack, but you need those pseudo-elements for something else?

    With Flexbox, you can stop worrying. You can align anything (vertically or horizontally) quite painlessly with the align-items, align-self, and justify-content properties.

    December 1, 2016 at 5:09:47 PM UTC - permalink -
    QRCode
    - https://philipwalton.github.io/solved-by-flexbox/demos/vertical-centering/
    align centering css flex flexbox justify layout vertical-align vertical-centering
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation