Fiction Library
/* General responsive ad styling */ .responsive-ad { max-width: 100%; margin: 20px auto; text-align: center; overflow: hidden; } /* Desktop view */ @media (min-width: 769px) { .responsive-ad { width: 728px; /* typical leaderboard/banner size */ } } /* Tablet view */ @media (min-width: 481px) and (max-width: 768px) { .responsive-ad { width: 468px; /* medium banner */ } } /* Mobile view */ @media (max-width: 480px) { .responsive-ad { width: 320px; /* mobile banner */ } }
Skip to main content
Comments
Post a Comment