<template>
<div style="background-color: red; color: white;">
Hello World!
</div>
</template>
<template>
<div>
<style>
.title {
color: green;
font-size: 24px;
}
</style>
<h1 class="title">Welcome to my blog!</h1>
</div>
</template>
<template>
<div class="container">
<h1>Welcome to my website!</h1>
</div>
</template>
<!DOCTYPE html>
<html>
...
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="app"></div>
</body>
...
</html>
md5-896df787c090b166cf5a746f8d562dbf
<template>
<div class="container">
<h1 class="title">{{ title }}</h1>
</div>
</template>
md5-4cd6b0fc282f97a746a5acece1fb29a5
<style module>
.container {
max-width: 960px;
margin: 0 auto;
}
.title {
color: red;
font-size: 24px;
}
</style>
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-11-16 11:00:00 +0000
Seen: 14 times
Last updated: Mar 20 '22
Is there an equivalent of the CSS property "float:right" in LinearLayout on android?
What is the method for producing a radius that is opposite in direction for an element using css?
How can a background image be set in Flask's background setting?
How can the precise CSS specificity be viewed in Chrome Dev Tools?
In React, what is the solution for utilizing custom HTML & CSS with jsPDF?
How can I modify the border color of a checkbox input using CSS?
Is it possible to refer to a CSS class inside a different CSS class?
How does the navbar-fixed-top in Bootstrap CSS cause a part of the container to be concealed?