+ 7
Outline On Mobile
Whenever the user clicks on the div, a box/outline appears around the div on mobile (only on mobile). Can someone tell how can I fix this? https://code.sololearn.com/Wx7kMh2h3O8b/?ref=app
8 Answers
+ 9
Try this:
-webkit-tap-highlight-color:rgba(0,0,0,0)
and
outline:none
+ 8
Different browsers have different outputs.
https://caniuse.com has a collection of what you can use and canât use on different browsers
Go to https://browserling.com or https://browserstack.com to test your website on a different device.
+ 6
Harshit Srivastava You're welcome đ
+ 4
Harshit Srivastava
Check this out with materialize CSS to get the expected output:-
<a href="#!" class="waves-effect waves-circle btn-floating waves-red btn" style="padding:40px;justify-content:center;border-radius:30px;width:200px;height:100px;">press me</a>
+ 3
đÎUSGÎFUÎRÎ I tried but this didn't work.
+ 3
ANDY ŃĐ˝Ń CODER Ok, Thanks
+ 3
Galaxy-Coding (use the search bar) Thanks! Will definitely check those websites out
+ 3
Space Kitty Thanks! It's working!