Example Usage Copy code The code is as follows:<!DOCTYPE html> <!--[if lt IE 7]><html class="ie6"><![endif]--> <!--[if IE 7]><html class="ie7"><![endif]--> <!--[if IE 8]><html class="ie8"><![endif]--> <!--[if IE 9]><html class="ie9"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class="w3c"> <!--<![endif]--> <head> <meta charset="utf-8" /> <title>tinyCss--my css study tidy</title> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" /> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" /> <meta content="my css study tidy" name="description" /> <meta content="css,tidy" name="keywords" /> <meta content="index,follow" name="robots" /> <meta content="tinycss" name="application-name" /> <meta content="no-cache" http-equiv="Cache-Control" /> <meta content="-1" http-equiv="Expires" /> </head> <body></body> </html> [code] Tip 1: viewport, when your page has width, for example, 1000px, set width=1000, the compatibility will be better. Tip 2: X-UA-Compatible, this attribute is only recognized by IE8 browser. It is a common application to let IE8 render in IE7 mode. So: content="IE=7"; It is a better suggestion not to use this meta, because after all, IE8... Tip Three: Expires: The document expiration time. After this time, you need to request it from the server again, and the cache cannot be used; content="-1" theoretically disables the cache. |
<<: Flex layout realizes the layout mode of upper and lower fixed and middle sliding
>>: About using Alibaba's iconfont vector icon in Vue
This article shares the specific code of react+an...
1. --cpu=<value> 1) Specify how much availa...
I encountered a problem when modifying the defaul...
It has to be said that a web designer is a general...
I started learning MySQL recently. The installati...
Table of contents Linux environment variables and...
Table of contents 1. What is a closure? 2. The ro...
Problem Description In the recent background serv...
Table of contents Initial Vue Building a Vue deve...
Preface In order to reflect the difference betwee...
In many projects, it is necessary to implement th...
Table of contents 1. Effect diagram (multiple col...
Table of contents background Server Dependencies ...
1. Find the mysql image docker ps 2. Enter the mi...
Detailed explanation of JDBC database link and re...