CSS-only. Inspired by https://dribbble.com/shots/1546247-COSMOS-Identity-GIF
- vw, vh, vmin units for responsiveness
- flexbox to center everything
- multiple box-shadows for the stars
- keyframes animation for the planets
- transform to rotate the planets
let testgist = 0 |
npm audit | |
Find dependency deep in the subtrees | |
npm ls hoek | |
https://stackoverflow.com/a/50770060/5619088 | |
npm i hoek |
function reverse(string) { | |
return string.split('').reverse().join(); | |
} | |
reverse('testing'); |
const graph = { | |
start: { A: 5, B: 2 }, | |
A: { C: 4, D: 2 }, | |
B: { A: 8, D: 7 }, | |
C: { D: 6, finish: 3 }, | |
D: { finish: 1 }, | |
finish: {}, | |
}; | |
console.log(graph); |
const graph = { | |
start: {A:5, B:2}, | |
A: {C:4, D:2}, | |
B: {A:8, D:7}, | |
C: {D:6, finish:3}, | |
D: {finish:1}, | |
finish: {} | |
} | |
console.log(graph); |
console.log(7%3); | |
function fizzBuzz(num) { | |
for (var i = 1; i <= num; i++) { | |
if (i % 15 === 0) console.log("FizzBuzz"); | |
else if (i % 5 === 0) console.log("fizz"); | |
else if (i % 3 === 0) console.log("Buzz"); | |
else console.log(i); | |
} | |
} |
console.log(7%3); |
Bootstrap tab panel example | |
--------------------------- | |
This works on html 5 supported browsers. | |
A [Pen](https://codepen.io/wizly/pen/BlKxo) by [weiss](https://codepen.io/wizly) on [CodePen](https://codepen.io). | |
[License](https://codepen.io/wizly/pen/BlKxo/license). |
<div class="marquee"> | |
<p>Test</p> | |
</div> |
CSS-only. Inspired by https://dribbble.com/shots/1546247-COSMOS-Identity-GIF