mirror of
https://github.com/kognise/water.css.git
synced 2026-01-02 11:29:35 +01:00
Add theme switcher
This commit is contained in:
parent
22cae7e386
commit
aabd59c3ea
3 changed files with 17 additions and 6 deletions
|
|
@ -22,7 +22,7 @@
|
|||
<p>
|
||||
Now you can write your simple static site with nice semantic html, and Water.css will manage the styling for you.
|
||||
</p>
|
||||
<a href='https://www.producthunt.com/posts/water-css?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-water-css' target='_blank'><img src='https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=150490&theme=dark' alt='Water.css - Make your tiny website just a little nicer | Product Hunt Embed' style='width: 250px; height: 54px;' width='250px' height='54px' /></a>
|
||||
<a href='https://www.producthunt.com/posts/water-css?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-water-css' target='_blank'><img id='ph' src='https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=150490&theme=dark' alt='Water.css - Make your tiny website just a little nicer | Product Hunt Embed' style='width: 250px; height: 54px;' width='250px' height='54px' /></a>
|
||||
|
||||
<h2>Is it responsive?</h2>
|
||||
<p>
|
||||
|
|
@ -32,6 +32,7 @@
|
|||
<p>
|
||||
In fact, try resizing this page. Everything flows super nicely as you'll see.
|
||||
</p>
|
||||
<button id='switch'>Switch theme</button>
|
||||
|
||||
<h2>More elements</h2>
|
||||
<p>
|
||||
|
|
@ -59,6 +60,8 @@
|
|||
<input type='submit'>
|
||||
</form>
|
||||
<input disabled placeholder='This is disabled'>
|
||||
<input readonly placeholder='This is readonly'>
|
||||
<input readonly value='This is readonly'>
|
||||
|
||||
<script src='script.js'></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue