简体   繁体   中英

css not working properly on mobile devices (Mi Browser)

My css is working as expected in browsers like chrome (mobile). But when I try with Mi Browser, (native browser on xiaomi, it doesn't work properly.

I'm using Next.js and this is my head tag:

<Head>
<meta charSet="UTF-8" />
<title>Nutryin</title>
<meta
  name="viewport"
  content="width=device-width; initial-scale=1.0;"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
  href="https://fonts.googleapis.com/css2?family=Dosis:wght@400;500&display=swap"
  rel="stylesheet"
/>
</Head>

website: https://nutryn-website.nutryn.vercel.app

screenshot on chrome: 在此处输入图片说明

screenshot on mi browser: 在此处输入图片说明

have you checked that specified css functions are supported by mi browser? go to w3schools or anywhere to check if browser and its version support your css functions or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM