import styled from "styled-components";
import { devices } from "./devices";
export const HeaderContainer = styled.div`
padding: 20px;
@media ${devices.lg} {
padding: 40px 90px;
}
@media ${devices.xl} {
padding: 40px 215px 40px 150px;
}
@media ${devices.xxl} {
padding: 40px 150px;
}
`;
Moreover, this code snippet is utilized in various components, especially targeted at screen sizes of 1440px and 1280px.
The output displayed matches the following image captured through the Chrome Dev Tool: