Samual Sam has Published 2310 Articles

Set the font stretch of an element with CSS

Samual Sam

Samual Sam

Updated on 30-Jan-2020 10:36:52

55 Views

To set the font-stretch of an element, use the font-stretch property. Possible values could be normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.                            If this doesn't appear to work, it is likely that ... Read More

Which property is used in CSS to control the repetition of an image in the background?

Samual Sam

Samual Sam

Updated on 30-Jan-2020 08:54:53

1K+ Views

To control the repetition of an image in the background, use the background-repeat property. You can use no-repeat value for the background-repeat property if you do not want to repeat an image, in this case, the image will display only once.ExampleYou can try to run the following code to learn ... Read More

What is pica? How to set the font size in CSS using pica?

Samual Sam

Samual Sam

Updated on 30-Jan-2020 08:50:41

843 Views

A pica is equivalent to 12 points; thus, there are 6 picas per inch. You can try to run the following code to set font size using pica (pc):Example                            This div has font size set in pica.          

How to add comments in the style sheet blocks

Samual Sam

Samual Sam

Updated on 30-Jan-2020 08:44:26

252 Views

You may need to put additional comments in your stylesheet blocks. Therefore, it is very easy to comment any part of the style sheet. You can simply put your comments inside /*.....this is a comment in style sheet.....*/.You can use /* ....*/ to comment multi-line blocks in a similar way ... Read More

Working with