2 years ago
1

Free Assets

 2 years ago in Free Assets

Tabler Icons

over 300 free MIT-licensed high-quality SVG icons
 2 years ago in Talks

The Clean Coder

by Robert Martin
(click image to load video)
 2 years ago in Talks

In The Loop

by Jake Archibald
(click image to load video)
 2 years ago in Talks

When JavaScript Bytes

by Tim Kadlec
(click image to load video)
 2 years ago in Cheatsheets

"'padding: 50% 0;' will force it to be a square"

what? why?
<style>.sqtest
{
  background:#f00;
  padding: 50% 0;
}
</style>
<div class=sqtest>&nbsp;</div>

some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider some text to make this wider
 
 2 years ago in Cheatsheets

JavaScript + CSS

element.style.getPropertyValue("color");
getComputedStyle(element).getPropertyValue("color");
element.style.setProperty("color", "#f00");