scrimba
Frontend Career Path
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Firebase Auth Setup
Expand for more info
src
components
profiles
styles
profiles.js
run
preview
console
import styled from 'styled-components';

export const Container = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: auto;
max-width: 80%;
`;

export const Title = styled.h1`
width: 100%;
color: #fff;
font-size: 48px;
text-align: center;
font-weight: 500;
`;

export const List = styled.ul`
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
`;

export const Name = styled.p`
color: #808080;
text-overflow: ellipsis;
font-size: 16px;

&:hover {
font-weight: bold;
color: #e5e5e5;
}
`;

export const Picture = styled.img`
width: 100%;
max-width: 150px;
height: auto;
border: 3px solid black;
cursor: pointer;
`;

export const Item = styled.li`
max-height: 200px;
max-width: 200px;
list-style-type: none;
text-align: center;
margin-right: 30px;

&:hover > ${Picture} {
border: 3px solid white;
}

&:hover ${Name} {
font-weight: bold;
color: white;
}

&:last-of-type {
margin-right: 0;
}
`;
Console
/browse
-1:40