Posts with tag: sass

  • Easily Hide DOM Elements By Platform With CSS

    Hide website DOM elements depending on the user's platform (desktop, mobile) using only CSS

    Sometimes certain parts of a website only work on a certain platform. Mobile deep links are a good example of this; certain deep links can’t be handled on desktop. Use this CSS technique to hide Document Object Model (DOM) elements from the user based on whether they are on mobile...