Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Mooenz/mis-apuntes into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooenz committed Nov 3, 2021
2 parents 5506487 + f4a5917 commit 953a5b3
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions Curso-Basico-de-Web-Components-con-JavaScript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,36 +543,4 @@ Permite manipular por medio de variables en css los estilos segun la necesidad.


```css
getStyles() {
return `
<style>
:host {
--primary-color: tomato;
--secondary-color: salmon;
--heading-primary: 30px;
--heading-secondary: 25px;
display: inline-block;
width: 100%;
min-width: 300px;
max-width: 450px;
}

section {
background: var(--primary-color)
}

section div {
background: var(--secondary-color);
}

h1 {
font-size: var(--heading-primary);
}

p {
font-size: var(--heading-secondary);
}
</style>
`;
}
```

0 comments on commit 953a5b3

Please sign in to comment.