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