Skip to content

Commit

Permalink
Add image example
Browse files Browse the repository at this point in the history
  • Loading branch information
Wickramaranga Abeygunawardhana committed Nov 20, 2021
1 parent d47eb4f commit 9c303ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.bkg-img {
background-image: url("david-pisnoy-46juD4zY1XA-unsplash-1.jpg");
background-color: #cccccc;
}
3 changes: 3 additions & 0 deletions example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ function App() {
<div className="my-16 glow-dynamic-md bg-gradient-to-r from-green-400 via-blue-500 to-purple-600">
<p>glow-dynamic-md with gradient</p>
</div>
<div className="my-16 glow-dynamic-lg h-96 w-64 bkg-img">
<p>using glow-dynamic-lg with background image</p>
</div>
</div>
);
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9c303ff

Please sign in to comment.