0

I am learning working with BootStrap and in one of the exercises I have a problem with finding a CSS code.
I just want to know as you see in the photo how to fill the top right part of the page with the black background? but keep the right part of the black background slided?
and the main background is a video, how can I make it mate(not shiny)?

here is the css code and also the screenshot of what it is and what it should be:

body:before {
  position         : absolute;
  box-sizing       : border-box;
  top              : 0;
  left             : 0;
  height           : 100%;
  width            : 70%;
  background-color : rgba(0, 0, 0, 0.95);
  opacity          : 0.95;
  transform        : matrix(1, 0, -0.158384, 1, 0, 2);
  z-index          : 1;
  content          : " ";
  display          : block;
  margin-right     : 40%;
}

what it is... :-/
image1

what it should be
image2

I just want to know as you see in the photo how to fill the top right part of the page with the black background? but keep the right part of the black background slided?
and the main background is a video, how can I make it mate(not shiny)?

Mister Jojo
  • 20,093
  • 6
  • 21
  • 40

0 Answers0