Traducido del inglés
ESTO CAMBIA LAS PALABRAS DE LA BARRA DE BÚSQUEDA
<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;
}
/* hace invisible el texto de marcador de posición original*/
#search-input::placeholder {
opacity: 0;
}
/* EL NUEVO TEXTO DEL MARCADOR DE POSICIÓN */
.search-input:after {
content: "¿Deseo de afecto? ¡Púlsame!";
font-family: 'American Typewriter';
font-size: 1rem;
font-weight: normal;
position: absolute;
max-width: 68%; /* no se nota a menos que estés en un dispositivo más pequeño */
top: 50%;
transform: translateY(-50%);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; /* añade puntos suspensivos en lugar de un corte abrupto cuando el texto es demasiado largo */
pointer-events: none;
transition: color 600ms ease, opacity 300ms ease; /* si no quieres que el texto del marcador de posición aparezca/desaparezca sutilmente, elimina la transición de opacidad aquí */
}
/* oculta el texto escrito por defecto */
#search-input,
.css-bar9lc:focus-within .search-input:after,
.search-input:has(#search-input:not(:placeholder-shown)):after {
opacity: 0;
}
/* hace visible el texto escrito cuando la barra de búsqueda tiene texto dentro o se hace clic en ella */
.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>
ESTO CAMBIA EL ANCHO Y EL ALTO DE TU FOTO DE PERFIL
<style>
.css-18bnokj {
Width: 500px;
height: 500px;
</style>
Creado 11 jun 2025
Actualizado 11 jun 2025
Publicado 11 jun 2025