Skip to content

Commit

Permalink
add custom css
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Jazi committed May 6, 2024
1 parent 58c96c2 commit 52fbdc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/page-module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ page-module {
p {
font-size: 1.6em;
}
}

.card {
padding: 2em;
Expand Down
6 changes: 4 additions & 2 deletions src/page-module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import "./page-module.css";

export const html = `
<h1>Page Module</h1>
<p>This is a page module</p>
<div class="card" >
<h1>Page Module</h1>
<p>This is a page module</p>
</div>
`;
class PageModule extends HTMLElement {
connectedCallback() {
Expand Down

0 comments on commit 52fbdc1

Please sign in to comment.