Ian UK
Ian UK
KPCKevin Powell - Community
Created by Ian UK on 1/30/2024 in #ui-ux
Feedback and suggestions
No description
4 replies
KPCKevin Powell - Community
Created by Ian UK on 11/6/2023 in #front-end
Grid question, wrapping when using grid template-rows
Hey, I've not used grid so much so bear with me, I'm styling a definition list and have got it looking exactly how I want it, however I want the dt + dd items to wrap onto a new line when overflowing horizontally. I guess my question is, is this possible with using grid-template-rows? and if so please impart me with your knowledge ❤️ example code is https://codepen.io/brumgb/pen/XWOpKEx
21 replies
KPCKevin Powell - Community
Created by Ian UK on 10/25/2023 in #front-end
Empty local font reference, i.e. local('')
Just trying to get some clarification on this as I can't get my head around the Mozilla docs. I've always assumed that with an empty local source i.e. src: local(''), url('...') the font uses the URL succeeding that in the property list. For example I thought:
src: local(''),
url('/fonts/source-sans-pro-v21-latin-300.eot
src: local(''),
url('/fonts/source-sans-pro-v21-latin-300.eot
Would skip the local and then load the font from the /fonts directory listed in the URL. However, I'm wondering if this is correct and if / or the browser does something intelligent based on the font family and font weight that I don't know about. Examples of empty local font-src declarations here https://github.com/search?q=fonts%2Fsource-sans-pro-v21-latin-300&type=code (further making me more confused was a PR on some project saying remove the local('') as it was loading someone's funky local fonts.
5 replies