简体   繁体   中英

The CSS of my website looks different on localhost and on Amazon AWS servers

I've deployed my website to Amazon AWS server, but CSS styles looks differently -- the font is bigger and bolder than on the localhost, the same about buttons.

Did you have similar issue? There are loaded the same files, fonts are loaded from Google.

Thanks

The problem was in used fonts - as I loaded them from Google, the link was like http://... and the font was not loaded.

After changing the protocol to https:// everything is working well.

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