Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Remove scrollbars using CSS

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par Mick

more options

Hi, I am trying to make a website. The issue is that my website uses scroll. When using Linux or Windows 10 with FireFox, the scroll bars are there and they look terrible. Is there a way to remove the scroll bars using CSS since I am making a website and that would be the most convenient way?

Hi, I am trying to make a website. The issue is that my website uses scroll. When using Linux or Windows 10 with FireFox, the scroll bars are there and they look terrible. Is there a way to remove the scroll bars using CSS since I am making a website and that would be the most convenient way?
Captures d’écran jointes

Toutes les réponses (1)

more options

hi, chrome edge and safari use -webkit-scrollbar Firefox requires CSS scrollbar.

an example:

/* Hide scrollbar for Chrome, Edge, Safari and Opera */

.example::-webkit-scrollbar {

 display: none;

}

/* Hide scrollbar for IE, and Firefox */ .example {

 -ms-overflow-style: none;  /* IE*/
 scrollbar-width: none;  /* Firefox */

}

Modifié le par Mick