postcss-pxtorem include
时间: 2023-10-22 16:05:31 浏览: 101
CSS (Cascading Style Sheets) includes are used to link external CSS files to an HTML document. By doing so, you can apply styles defined in the CSS file to elements in the HTML document.
To include a CSS file in your HTML document, you can use the `<link>` tag in the `<head>` section of your HTML file. Here's an example:
```html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<!-- Your HTML content here -->
</body>
</html>
```
In this example, `styles.css` is the name of the external CSS file. Adjust the `href` attribute value to match the path and filename of your CSS file.
Make sure that the CSS file is located in the same directory as your HTML file or provide the correct relative or absolute path to the CSS file in the `href` attribute.
By including the CSS file using the `<link>` tag, the styles defined in `styles.css` will be applied to the HTML elements in your document.
阅读全文