Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
milowindsor

How do I reduce borders on mobile?

Question

Hi I have CSS on my Brine site to increase the border width as I like chunky borders.  However the borders are too big for mobile.  Is there a way to reduce them for mobile only?

The code I'm using is :

#grid {
  margin-right:50px; 
 }
 #grid .item {
   box-sizing:border-box;
   -moz-box-sizing:border-box;
   -webkit-box-sizing:border-box;
   border-top:50px solid #fff;
   border-left:51px solid #fff;
 }

 

mylesformby.com

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

@milowindsor you can use media query for mobile

/* CSS for only Mobile */
@media screen and (max-width:640px) {
paste your CSS here
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...