This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Northbay</title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
</head> | |
<body> | |
<div id="widget"></div> | |
<script src="https://pym.nprapps.org/pym.v1.min.js"></script> | |
<style>#widget iframe{max-width: 30rem}</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="script.js"></script> | |
</head> | |
<body> | |
<div id="widget"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="switcher"> | |
<input id="toggle1" type="checkbox" checked> | |
<div> | |
<label for="toggle1"></label> | |
<b></b> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.switcher { | |
input { | |
display: none; | |
&:checked ~ div { | |
background-color: green; | |
b { | |
float: right; | |
} | |
} | |
} |
NewerOlder