Text border using css border around text

0 votes

Is there a way to integrate a border around text like the image below?

text border

Jun 27, 2022 in CSS by Edureka
• 13,620 points
9,235 views

1 answer to this question.

0 votes
To apply borders to fonts in CSS, use the -webkit-text-stroke property. In CSS, we may apply borders to a font by using the text-stroke property on a text. To access the feature, we must use the webkit prefix before the text-stroke attribute. However, it is only compatible with web-kit-based browsers such as Safari and Chrome.
answered Jun 28, 2022 by Edureka
• 12,690 points

Related Questions In CSS

0 votes
1 answer

Multi-Colored text using only CSS

Put your text inside a span> tag ...READ MORE

answered Jun 28, 2022 in CSS by Edureka
• 12,690 points
1,582 views
0 votes
0 answers

Using CSS object-fit:contain on image leaves blank spaces around it

I have a picture inside of a ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,620 points
913 views
0 votes
0 answers

How to make a transparent border using CSS?

Ideally, the border should be translucent. That ...READ MORE

Jul 4, 2022 in CSS by Edureka
• 13,620 points
384 views
0 votes
0 answers

Hide text using css

I have a tag in my HTML ...READ MORE

Jul 29, 2022 in CSS by Edureka
• 13,620 points
1,057 views
0 votes
0 answers
0 votes
1 answer

jQuery text animation "explosion" effect on hover

The logic: Wrap each textual character inside a <span> tag Make ...READ MORE

answered Aug 4, 2022 in Web Development by rajatha
• 7,640 points
617 views
0 votes
0 answers

How to disabled or non-editable text editor using CSS or jQuery?

I am using a rich text editor on my ...READ MORE

Aug 18, 2022 in Web Development by gaurav
• 23,260 points
613 views
0 votes
3 answers

How to write lines to a text file in R?

sink("outfile.txt") cat("hello") cat("\n" ...READ MORE

answered May 24, 2019 in Data Analytics by anonymous
18,494 views
0 votes
1 answer

How do I give text or an image a transparent background using CSS?

Use either a semi-transparent PNG or SVG ...READ MORE

answered May 27, 2022 in CSS by Edureka
• 12,690 points
334 views
0 votes
1 answer

How to insert spaces/tabs in text using HTML/CSS

For spaces, use &nbsp;, for (less than, ...READ MORE

answered Jun 1, 2022 in CSS by Edureka
• 12,690 points
313 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP