Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-roch committed Aug 4, 2020
1 parent dd38a5f commit c008074
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -290,3 +290,7 @@ a[href].direct-link:focus:visited,
:hover > a[href].direct-link:visited {
color: #aaa;
}

.mrg-0 {
margin: 0 !important;
}
2 changes: 1 addition & 1 deletion posts/easy-web-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Web components aim to be native, reusable blocks to build your application. They
Let's see a **very** simple example of a component you may want to reuse in a lot of places. We will add a new tag `<text-blink>` that makes the contained text blink every second. This example can obviously be implemented with just CSS, but we will create a web component for the demo. This is how it looks:

<div class="live-example">
<p>I just created my <text-blink>awesome</text-blink> new web component!</p>
<p class="mrg-0">I just created my <text-blink>awesome</text-blink> new web component!</p>
</div>

Feel free to inspect this component with the dev-tools inspector.
Expand Down

0 comments on commit c008074

Please sign in to comment.