nick34992
4/20/2016 - 5:21 AM

id Class Style. Using p5.js library.

id Class Style. Using p5.js library.

<!DOCTYPE html>
<html lang = "en">
<head>
<meta charset = utf-8 />

<!-- Based on code featured in one of Shiffman's video tutorials -->

<script src = "/libraries/p5.js"></script>
<script src = "/libraries/p5.dom.js"></script>

<style>

#sunshine { font-size: 48pt; }
.rainbowPromise { background-color: #f00; }
p { padding: 16pt; }

</style>

</head><body>

<p id = "sunshine" class = "rainbowPromise">ID/Class/P</p>
<p class = "rainbowPromise">Class/P</p>
<p class = "rainbowPromise">Class/P</p>
<p>P</p>

</body></html>