Leave a Reply

2 comments

  1. Yes. Using CSS won’t prevent JS from loading generally but it’s more reliable than server side sniffing. Depends on project but I would go with media queries to just hide it or bring it in page’s content flow.

    @media (max-width: 768px) {
      .sticky-social {
        display: none;
      }
    }