Skip to content

Instantly share code, notes, and snippets.

View asyarb's full-sized avatar

Anthony Yarbrough asyarb

View GitHub Profile
:root {
--root-font-size: 16;
--root-line-height: 1.2;
font-size: var(--root-font-size);
line-height: var(--root-line-height);
}
.font-inter {
--cap-height: 2048;
--ascent: 2728;
@asyarb
asyarb / capsize.css
Last active May 12, 2022 00:40
Capsize implemented using CSS variables
:root {
--root-font-size: 16;
--root-line-height: 1.2;
font-size: var(--root-font-size);
line-height: var(--root-line-height);
}
.text {
--font-size: 24;
--line-height: 1.25;
@asyarb
asyarb / movies.json
Last active November 19, 2020 00:34
Movies
{
"movies": [
{
"coverImage": "https://images-na.ssl-images-amazon.com/images/I/71VZVXPhmKL._AC_SL1106_.jpg",
"title": "Iron Man 2",
"rating": 4.7,
"ticketPrice": 1200,
"description": "With the world now aware of his identity as Iron Man, Tony Stark must contend with both his declining health and a vengeful mad man with ties to his father's legacy."
},
{
@asyarb
asyarb / brewfile
Last active November 20, 2020 07:13
Brewfile
# Options
cask_args appdir: '~/Applications'
# Taps
tap 'homebrew/cask'
tap 'homebrew/bundle'
tap 'homebrew/core'
tap 'homebrew/services'
tap 'homebrew/cask-fonts'