CSS Font Border?

With all the new CSS3 border stuff going on (-webkit, …) is it now possible to add a border to your font? (Like the solid white border around the blue Twitter logo). If not, are there any not-too-ugly hacks that will accomplish this in CSS/XHTML or do I still need to fire up Photoshop? 12 … Read more

Enqueue custom font file with rel=”preload”

I’m using a custom font on my WP site. It is now included with @font-face css attribute. But I’m wondering if there is any way to wp_enqueue this file with the attribute rel=”preload” and may be some other attributes. So it looks something like this in browser: <link rel=”preload” href=”https://wordpress.stackexchange.com/fonts/custom-font-folder/CustomFontFile.woff2″ as=”font” type=”font/woff2″ crossorigin=”anonymous”> Thank you … Read more

Can I underline text in an Android layout?

How can I define underlined text in an Android layout xml file? 27 s 27 It can be achieved if you are using a string resource xml file, which supports HTML tags like <b></b>, <i></i> and <u></u>. <resources> <string name=”your_string_here”><![CDATA[This is an <u>underline</u>.]]></string> </resources> If you want to underline something from code use: TextView textView … Read more