Code pour @AlarmClock

Traduit de l’anglais

Code for @AlarmClock

7

9

CECI MODIFIE LES MOTS DE LA BARRE DE RECHERCHE

<style>

#search-input {

font-family: 'American Typewriter'; !important;

font-size: 1rem !important;

font-weight: normal;

caret-color: #000;

transition: color 600ms ease, caret-color 600ms ease;

}

/* rend le texte du placeholder d'origine invisible*/

#search-input::placeholder {

opacity: 0;

}

/* LE NOUVEAU TEXTE DU PLACEHOLDER */

.search-input:after {

content: "Envie de tendresse ? Cliquez-moi !";

font-family: 'American Typewriter';

font-size: 1rem;

font-weight: normal;

position: absolute;

max-width: 68%; /* imperceptible sauf sur un appareil plus petit */

top: 50%;

transform: translateY(-50%);

white-space: nowrap;

overflow: hidden;

text-overflow: ellipsis; /* ajoute une ellipse au lieu d'une coupure abrupte lorsque le texte est trop long */

pointer-events: none;

transition: color 600ms ease, opacity 300ms ease; /* si vous ne voulez pas que le texte du placeholder apparaisse/disparaisse subtilement en fondu, supprimez la transition d'opacité ici */

}

/* masque le texte saisi par défaut */

#search-input,

.css-bar9lc:focus-within .search-input:after,

.search-input:has(#search-input:not(:placeholder-shown)):after {

opacity: 0;

}

/* rend le texte saisi visible lorsque la barre de recherche contient du texte ou est cliquée */

.css-bar9lc:focus-within #search-input,

.search-input:has(#search-input:not(:placeholder-shown)) #search-input {

opacity: 1;

}

.search-input {

position: relative;

overflow: hidden;

border-radius: 2px;

transition: background-color 600ms ease;

}

</style>


CECI MODIFIE LA LARGEUR ET LA HAUTEUR DE VOTRE PHOTO DE PROFIL

<style>

.css-18bnokj {

Width: 500px;

height: 500px;

</style>

Créé 11 juin 2025

Mis à jour 11 juin 2025

Publié 11 juin 2025

  • Illimité
proxy autorisé

Chats publiés