How to make Chrome support text smaller than 12px?

-webkit: Indicates support for safari browsers.
transform: rotate the div element.
scale: zoom, refers to "zoom out" and "zoom in".

Code:

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			h3{
    
    
				font-size:7px;
				-webkit-transform:scale(0.7);
				display:block;
			}
		</style>
	</head>
	<body>
		<h3>如何让Chrome支持小于12px的文字? -  7px</h3>
	</body>
</html>

Effect:
insert image description here

Guess you like

Origin blog.csdn.net/qq_46582421/article/details/123243108