Tarjeta de Twitter

<body>
    <div class="profile-container">
        <div class="profile">
            <img src="https://img2.freepng.es/20190702/tl/kisspng-computer-icons-portable-network-graphics-avatar-tr-clip-directory-professional-transparent-amp-png-5d1bfa95e508d4.2980489715621147099381.jpg" alt="" />

            <div class="info">
                <div class="header">
                    <div class="photo">
                        <img src="https://img2.freepng.es/20190702/tl/kisspng-computer-icons-portable-network-graphics-avatar-tr-clip-directory-professional-transparent-amp-png-5d1bfa95e508d4.2980489715621147099381.jpg" alt="">
                    </div>
                    <div class="action">
                        <button>Follow</button>
                    </div>
                </div>
                <div class="user-info">
                    <div class="name"><a href="#">Emmanuel Salas🚀</a></div>
                    <div class="username">@junkemma.ii</div>
                </div>
                <div class="description">
                    Another weeknd out of my Life.<br>Lic. Lenguas Extranjeras <a href="#">#francés</a>
                </div>

                <div class="followers-container">
                    <div class="following">
                        <a href="#"><span class="number">1.2k</span> Siguiendo</a>
                    </div>
                    <div class="followers">
                        <a href="#"><span class="number">1M</span> Segudores</a>
                    </div>
                </div>

                <div class="other">
                    <a href="#">
                        <div class="photos">
                            <img src="https://pbs.twimg.com/profile_images/1554874972010676230/z-We2JZ4_400x400.jpg" alt="">
                            <img src="https://pbs.twimg.com/profile_images/1554874972010676230/z-We2JZ4_400x400.jpg" alt="">
                            <img src="https://pbs.twimg.com/profile_images/1554874972010676230/z-We2JZ4_400x400.jpg" alt="">
                        </div>

                        <div class="names">
                            Aline Vdz, Cesar Salas, y 80 personas que sigues también siguen a esta cuenta
                        </div>
                    </a>
                </div>
            </div>
        </div>
    </div>
</body>
body {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    background-color: #25334d;
}

.profile-container{
    width: 70px;
    margin: 100px auto;
}

.profile-container .profile img{
    width: 70px;
    border-radius: 50%;
}
.profile-container .profile .info{
    position: absolute;
    width: 340px;
    min-height: 300px;
    max-height: 346px;
    background-color: #222;
    border-radius: 20px;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.profile-container .profile a{
    color: white;
    text-decoration: none;
}

.profile-container .profile a:hover{
    text-decoration: underline;
}

.profile-container .profile .header {
    display: flex;
    justify-content: space-between;
}

.profile-container .profile .header img {
    width: 60px;
}

.profile-container .profile .header button{
    min-width: 100px;
    padding: 10px;
    border-radius: 20px;
    background-color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: black;
}

.profile-container .profile .header button:hover {
    background-color: #eee;
}

.profile-container .profile .user-info{
    padding: 10px 0;
}

.profile-container .profile .user-info .name{
    font-weight: bolder;
}

.profile-container .profile .user-info .username{
    color: #aaa;
}

.profile-container .profile .description {
    padding: 10px 0 2px 0;
    flex: 1;
}

.profile-container .profile .description a {
    color: #008cff;
    text-decoration: none;
}


.profile-container .profile .description a:hover{
    text-decoration: underline;
}


.profile-container .profile .followers-container{
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 0;
}


.profile-container .profile .followers-container a{
    color: #aaa;
}

.profile-container .profile .followers-container .number{
    font-weight: bolder;
    color: white;
}

.profile-container .profile .other{
    padding: 10px 0;
}

.profile-container .profile .other a{
    color: #777;
    display: flex;
}

.profile-container .profile .other a .photos{
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    margin-right: 25px;
}



.profile-container .profile .other a .photos img{
    width: 32px;
    height: 32px;
    border: solid 4px #222;
    margin-right: -20px;
}
/* ESLint rules https://eslint.org/docs/2.0.0/rules/ */
/* eslint no-undef: "off" */

Tarjeta de Twitter

  • Archivos
  • Index
  • Style
  • Script
  • README
  • CDN Agregar
HTML
PLEASE WAIT...