Categories CSS How to add CSS font border? Post author By John Au-Yeung Post date February 13, 2023 No Comments on How to add CSS font border? Spread the love To add CSS font border, we add the text-stroke property. For instance, we write h1 { -webkit-text-stroke: 2px black; font-family: sans; color: yellow; } to set the -webkit-text-stroke property to the border style we want on h1 elements. Related Posts How to add a non-standard font to a website with CSS?To add a non-standard font to a website with CSS, we use the @font-face rule.… How to add global CSS in Vue.js?Sometimes, we want to add global CSS in Vue.js. In this article, we'll look at… How to add transitions on the CSS display property?Sometimes, we want to add transitions on the CSS display property. In this article, we'll… By John Au-Yeung Web developer specializing in React, Vue, and front end development. View Archive → ← How to prevent line breaks in list items using CSS? → How to import a regular CSS file into a SCSS file? Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Current ye@r * Leave this field empty