i want to add a video background to the wrapper brand-section in my react app and have…
- User
i want to add a video background to the wrapper brand-section in my react app and have it stretched across the wrapper on dektop and mobile: import React from ‘react’ import styled from “styled-components”; const Truested = () => { return (
const Wrapper = styled.section padding: 9rem 0; background-color: {({ theme }) => theme.colors.bg};<br/> .brand-section {<br/> padding: 12rem 0 0 0;<br/> }<br/> h3 {<br/> text-align: center;<br/> text-transform: capitalize;<br/> color: white;<br/> font-size: 2rem;<br/> font-weight: bold;<br/> }<br/> img {<br/> min-width: 10rem;<br/> height: 10rem;<br/> }<br/> .brand-section-slider {<br/> margin-top: 3.2rem;<br/> margin-bottom: 7.2rem;<br/> display: flex;<br/> justify-content: space-between;<br/> align-items: center;<br/> flex-direction: row;<br/> }<br/> @media (max-width: {({ theme }) => theme.media.mobile}) { .brand-section-slider { margin-top: 3.2rem; display: grid; grid-template-columns: 1fr 1fr; /* background-color: red; */ text-align: center; } }; export default Truested
- Assistant
- User
show me the correct css to get everything working well that is the video should span the entire brand-section
- Assistant