Answers for "text-stroke css"

CSS
9

css text outline

/* You have 2 options
   The first is experimental */

/* text-stroke */
#example {
	font-size: 1em;
	-webkit-text-stroke: 1px #000000;
}

/* Use 4 shadows
   Probably best to use this until the above is standardised */
#example {
	font-size: 1em;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
Posted by: Guest on March-02-2020
14

text border css

h1 {
  -webkit-text-stroke: 1px black;
}
Posted by: Guest on April-08-2020
2

css text black outline

/* Written for h4 tag, modify as required */
.black-outline{
    -webkit-text-stroke: 1.11px black; /* stroke width and color */
    color: rgb(255, 255, 255);
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
}
Posted by: Guest on July-17-2020
0

css text stroke

.TEXT:hover{
  -webkit-text-stroke-width: 1px; /* 1px Stroke */
  -webkit-text-stroke-color: #ffffff; /* White Color */
  transition: 1s /* Displays in 1 Second */
}
Posted by: Guest on February-06-2021
0

how to give text stroke in css

section .title h3
{
    font-weight: 500; /* ( optional ) */
    -webkit-text-stroke: 0.8px #8d8d8d !important; /* ( stroke weight + color ) */
}
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language