css

Naming typography CSS variables

Yeah yeah, naming CSS custom properties (CSS variables) or Sass variables is hard. But even that is not the full picture. In ideal world they are shared with design tools like Figma or Sketch. developers, UX, and visual designers can quickly understand what they mean. adding or removing variables isn’t too painful. Changing the values …

Screen reader text css issue in iPad

Uh, this one is hard to explain. I have debug it about 5 days. When using assistive text for screen readers we usually do it like this. ` .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute; } ` It works on most cases but I hard weird issue when building social navigation menu. Using …