CSS Code

CSS Code for the website
mail@pastecode.io avatar
unknown
plain_text
7 months ago
687 B
1
Indexable
Never
body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  background-color: black;
  color: white;
  font-family: 'Arial', sans-serif;
}

.video-container {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.text-container {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-text {
  text-align: left;
}

.right-text {
  text-align: 40px;
}
Leave a Comment