Pratik's banner
Pratik's profile picture

Pratik

@maybepratikk • 4,209 subscribers

independent product designer

Shorts

Everyone knows inner radius = outer − padding. It breaks in 4 places: Borders: subtract them too Pills: the radius is height ÷ 2, not 999px Focus rings: add instead of subtract Padding bigger than radius: CSS clamps to 0, so set a floor

Everyone knows inner radius = outer − padding. It breaks in 4 places: Borders: subtract them too Pills: the radius is height ÷ 2, not 999px Focus rings: add instead of subtract Padding bigger than radius: CSS clamps to 0, so set a floor

28,351 просмотров

Videos

Больше нет контента для загрузки