Thursday, September 14, 2023
HomeCSShtml - Why ':: prior to' includes some elevation when making use...

html – Why ‘:: prior to’ includes some elevation when making use of material ‘link( svg)’


I have the complying with code:

 << div course=" information"><> < switch className=" details-btn"><>  < div>>.
<< p className=" title">> Some material.
<.
<.

With the complying with designs

 information {
display screen: flex.
}

switch:: prior to {
material: link(' information: image/svg+ xml; utf8, << svg size=" 13" elevation=" 14" viewBox=" 0 0 13 14" fill=" none" xmlns=" http://www.w3.org/2000/svg"><> < course d=" M4.38128 4.61866 L5.61872 3.38123 L9.23743 6.99994 L5.61872 10.6187 L4.38128 9.38123 L6.76256 6.99994 L4.38128 4.61866 Z" fill=" black"/><> ')
}

I wish to focus the photo originating from :: prior to with the paragraph. The trouble is that although my svg has elevation of 14, the resulting elevation of the :: prior to aspect is 15 Why and also exactly how can I take care of that (I need to utilize :: prior to)

RELATED ARTICLES

Most Popular

Recent Comments