Вынесли свойство для шрифтов в index.html для применения их ко всем текстовым элементам

This commit is contained in:
isHardCoded
2025-06-08 12:17:15 +03:00
parent 7a5be1d876
commit df845c3ae7
2 changed files with 9 additions and 1 deletions
+9
View File
@@ -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
View File
@@ -1,5 +1,4 @@
.product {
color: red;
font-size: 14;
font-family: 'Arial';
}