css font-stretch property
Translation results:
font
英[fɒnt] 美[fɑ:nt]
n. Font; font; baptistery (located in a church, often made of stone ); (same font and size) a set of typefaces
Plural: fonts
stretch
英[stretʃ] 美[strɛtʃ]
v.Stretch;extend;continue;include
n.stretch;elasticity;a piece;a period of time
adj.scalable;elastic
Third person singular: stretches Plural: stretches Present participle: stretching Past tense: stretched Past participle: stretched
css font-stretch propertysyntax
Function: Can stretch and deform the current font-family.
Note: All major browsers do not support the font-stretch attribute.
css font-stretch propertyexample
<!DOCTYPE html> <html> <head> <style> #div1 {font-stretch:condensed;} #div2 {font-stretch:expanded;} </style> </head> <body> <p><b>Note:</b> No browsers support the font-stretch property.</p> <div> Some normal text in a div element. </div> <div id="div1"> Some condensed text in a div element. </div> <div id="div2"> Some expanded text in a div element. </div> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
Popular Recommendations
- Xiaomi launches new transparent power bank with 212W fast charging support
- Valve is testing ARM64 support for popular games, sparking speculations about future hardware
- Lenovo Legion Go Gen 2 gaming handheld officially mentioned for the first time in company brochure
- Deal | Unbeatable 66% discount on Samsung\'s 42-inch OLED 4K S90D HDR Smart TV with 144Hz - Lowest price ever
- Alleged early Meta Quest 3S ad suggests that the VR headset will be affordable
- Deal | 2024 Asus ROG Zephyrus G16 with RTX 4080 and gorgeous OLED display drops to all-time low