Skip to content

Commit

Permalink
trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimDez committed Jun 7, 2016
1 parent 5a45909 commit bc09cfe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion example/app.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<section>
<header>
<h1><a href="https://github.com/vadimdez/ng2-img-fallback">ng2-img-fallback</a> in action</h1>
</header>

<section>
<div>
<h3>Broken image</h3>
<img src="not-working_image" alt="not working image">
Expand Down
8 changes: 7 additions & 1 deletion example/main.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
}

section {
header {
background-color: #e3e3e3;
padding-bottom: 10px;
}

header h1, section {
width: 800px;
margin-left: auto;
margin-right: auto;
Expand Down

0 comments on commit bc09cfe

Please sign in to comment.