import styled from 'styled-components'; const Box = styled.div` position: relative; .marquee { position: absolute; div { display: inline-block; margin-right: 50px; } // width: max-content; } .copy_text { position: absolute; } @keyframes move { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } @-webkit-keyframes move { 0% { top: 0; transform: translateX(0); } 100% { top: 100%; transform: translateX(-100%); } } `; export { Box };