Yii framework refers to CSS methods: 1. Inline style, write the CSS style directly on the HTML element in the view file; 2. Internal style sheet, use the style tag in the head tag of the view file. Define CSS styles; 3. External style sheet, create an independent CSS file and reference it using the link tag in the view file.
# Operating system for this tutorial: Windows 10 system, Dell G3 computer.
In the Yii framework, you can use the following methods to reference CSS files:
1. Inline Styles: Write CSS styles directly on HTML elements in the view file . For example:
<div style="color: red;">Hello, Yii!</div>
2. Internal Stylesheet: Use the `