Вынесли свойство для шрифтов в index.html для применения их ко всем текстовым элементам
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
.product {
|
||||
color: red;
|
||||
font-size: 14;
|
||||
font-family: 'Arial';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user