Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #c
  • #cl
  • #cla
RSS: #clamp

#clamp

  • #clamps
  • #clampins
  • @b_b
    b_b @b_b PUBLIC DOMAIN 27/06/2024
    6
    @monolecte
    @rastapopoulos
    @fil
    @7h36
    @cy_altern
    @jeanmarie
    6

    Type Fluidity
    ▻https://wearerequired.github.io/fluidity

    Generator for #CSS #clamp values for #fluid_typography sizes.

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @b_b
    b_b @b_b PUBLIC DOMAIN 8/11/2022
    4
    @rastapopoulos
    @monolecte
    @cy_altern
    @tofulm
    4

    Use cases for #CSS #comparison #functions - Ahmad Shadeed
    ▻http://ishadeed.com/article/use-cases-css-comparison-functions

    https://ishadeed.com/assets/use-cases-comparison-css/twitter-card.jpg

    CSS comparison functions have been supported since almost April 2020, and I wrote an introductory article about them back then. I like to use all of them, but my favorite one of them is #clamp() and it’s the top used one for me.

    In this article, I will explore a few use-cases for comparison functions, and explain each one in detail. Mostly, the use cases will be about situations other than using them for fluid sizing, as this is the most popular use case and I will keep that to the last.

    Le truc qui me cause le plus est cet exemple :

    .hero {
      min-height: 250px;
    }
    
    @media (min-width: 800px) {
      .hero {
        min-height: 500px;
      }
    }

    peut s’écrire...

    .hero {
      min-height: calc(350px + 20vh);
    }
    
    @media (min-width: 2000px) {
      .hero {
        min-height: 600px;
      }
    }

    mais aussi...

    .hero {
      min-height: clamp(250px, 50vmax, 500px);
    }
    b_b @b_b PUBLIC DOMAIN
    • @cy_altern
      cy_altern @cy_altern CC BY-SA 9/11/2022

      A lire avant : ▻https://ishadeed.com/article/css-min-max-clamp pour être au point sur min() max() et clamp()

      cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 16/11/2020
    1
    @arno
    1

    clamp() - CSS : Feuilles de style en cascade | MDN
    ▻https://developer.mozilla.org/fr/docs/Web/CSS/clamp()

    La fonction CSS clamp() permet de ramener (d’écrêter) une valeur entre deux bornes inférieure et supérieure. Cette fonction utilise trois paramètres : une valeur minimale, la valeur à tester et une valeur maximale. La fonction clamp() peut être utilisée à tout endroit où une valeur de type <length>, <frequency>, <angle>, <time>, <percentage>, <number> ou <integer> peut être utilisée.

    #clamp #css #calcul #maximum_minimum

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @unagi
    unagi @unagi CC BY-NC 9/12/2015

    Fichés « s », rétention.

    ▻https://scontent-frt3-1.xx.fbcdn.net/hphotos-xlp1/v/t1.0-9/12316553_1667521040129333_6181458260074513158_n.png?oh=958
    #clampins

    unagi @unagi CC BY-NC
    Écrire un commentaire
  • @boisbois
    boisbois @boisbois 4/06/2015

    ▻https://www.youtube.com/watch?v=T8CtHnCZjzg


    ▻https://www.youtube.com/watch?v=QMOTAc8zBsw&feature=youtu.be

    Files to make your own #clamps (#serre-joint)
    ▻https://www.youtube.com/redirect?q=https%3A%2F%2Fwww.dropbox.com%2Fsh%2Fdildgadtv6cat03%2F4U7aY4pA8

    –—

    ▻https://www.youtube.com/watch?v=cu_voLt8WRY

    boisbois @boisbois
    • @boisbois
      boisbois @boisbois 4/06/2015

      Le premier est découpé à la numérique...

      boisbois @boisbois
    Écrire un commentaire

Thèmes liés

  • #css