Answers for "define a media query in styled components"

5

define a media query in styled components

const CardWrapper = styled.div`
  display: flex;
  flex-direction: row;
  @media (max-width: 768px) {
    flex-direction: column;
  }
`;
Posted by: Guest on August-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language