Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Last active December 10, 2018 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productioncoder/7f5c9794033865c430fdcc182bd0d55e to your computer and use it in GitHub Desktop.
Save productioncoder/7f5c9794033865c430fdcc182bd0d55e to your computer and use it in GitHub Desktop.
Youtube in React: refining video info box
.video-info-box {
/* ... */
.channel-image {
grid-row: 1 / 2;
grid-column: 1 / 2;
}
.video-info {
grid-row: 1 / 2;
grid-column: 2 / 3;
.channel-name {
font-weight: 600;
cursor: pointer;
}
.video-publication-date {
font-size: 13px;
color: #707070;
}
}
.subscribe {
grid-row: 1 / 2;
grid-column: 3 / 4;
}
.video-description {
max-width: 615px;
grid-row: 2 / 3;
grid-column: 2 / 3;
button {
margin: 8px 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment