Example url background in scss
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<h1 class="title">
|
||||
{{title}}
|
||||
</h1>
|
||||
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
.title {
|
||||
color: red;
|
||||
color: black;
|
||||
margin:0;
|
||||
padding:50px 20px;
|
||||
background: url(../assets/background.jpg) no-repeat center fixed;
|
||||
-webkit-background-size: cover; /* pour anciens Chrome et Safari */
|
||||
background-size: cover; /* version standardisée */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user