kiriako Posted January 25, 2022 Share Posted January 25, 2022 Site URL: https://www.wheelhousecycleclub.com/letstalk Hi, I added this vertical line break, but it looks awful on mobile. How can I make it only apply to desktop? .vertical-line { height: 146px; /* line height */ width: 1px; /* line width */ background: #FFFFFF; /*line colour*/ margin-right: 0px; margin-left: auto; } Link to comment
kiriako Posted January 25, 2022 Author Share Posted January 25, 2022 Never mind! I figured it out haha /* Hide vertical line on mobile */ @media screen and (max-width:767px) { .vertical-line { display: none; } } SquareRefresh and tuanphan 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment