Skip to content

Instantly share code, notes, and snippets.

@tbarbugli
Last active August 11, 2023 14:27
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 tbarbugli/a6d0a20691729ff56291486a54e4a599 to your computer and use it in GitHub Desktop.
Save tbarbugli/a6d0a20691729ff56291486a54e4a599 to your computer and use it in GitHub Desktop.
CSS example for video layout
#root {
background:linear-gradient(90deg, Red, Orange, Yellow, Green, Blue, Indigo,violet);
}
.str-video__video-placeholder {}
.str-video__participant-details {}
.str-video__participant-details__name {}
.str-video__branding-logo {
width: 350px;
margin: 0 auto;
left: 50%;
transform: translate(-50%, 0%);
z-index: 42;
position: absolute;
}
.str-video__branding-logo::before {
content:url(https://placehold.co/350x50/orange/white?text=Company+Logo);
}
.str-video__branding-footer {
z-index: 42;
position: absolute;
bottom: 0%;
left: 10%;
}
.str-video__branding-footer::before {
content: "Just another awesome conference call";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment