step 2
This commit is contained in:
12
first-app/src/app/app.css
Normal file
12
first-app/src/app/app.css
Normal file
@@ -0,0 +1,12 @@
|
||||
:host {
|
||||
--content-padding: 10px;
|
||||
}
|
||||
header {
|
||||
display: block;
|
||||
height: 60px;
|
||||
padding: var(--content-padding);
|
||||
box-shadow: 0px 5px 25px var(--shadow-color);
|
||||
}
|
||||
.content {
|
||||
padding: var(--content-padding);
|
||||
}
|
||||
@@ -2,8 +2,12 @@ import {Component} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [],
|
||||
template: `
|
||||
Welcome to Angular!
|
||||
<h1>Hello world!</h1>
|
||||
`,
|
||||
styleUrls: ['./app.css'],
|
||||
})
|
||||
export class App {}
|
||||
export class App {
|
||||
title = 'homes';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user