Skip to content
Related Articles

Related Articles

CSS font-variant-ligatures Property

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 18 Sep, 2020

The CSS font-variant-ligatures property is used for controlling ligatures on a text’s font. A ligature is a special character that combines two or more characters into one. Ligatures are commonly used to give certain style or look to the text.


font-variant-ligatures: Keyword_values


 font-variant-ligatures: Global_values 

Property values: This property accepts property values mentioned above and described below.

  • Keyword_values: This property value refers to the values defined by “normal”, “none”, “common-ligatures”, “no-common-ligatures”, “discretionary-ligatures”, “no-discretionary-ligatures”, “historical-ligatures”, “no-historical-ligatures”, “contextual”, “no-contextual”.
  • Global_values: This property value refers to the values defined by “inherit”, “initial”, “unset”.

Example 1: Below is the example that illustrates the use of font-variant-ligatures property using common-ligatures and no-common-ligatures.


<!DOCTYPE html>
<html lang="en">
        div {
            font-size: 5vw;
        .off {
            font-variant-ligatures: no-common-ligatures;
            color: rgb(83, 241, 21);
        .on {
            font-variant-ligatures: common-ligatures;
            color: rgb(96, 153, 4);
    <h1 style="color: green;">GeeksforGeeks</h1>
        <span class="off">wifi</span>
        <span class="on">wifi</span>


Supported Browsers:

  • Chrome
  • Firefox
  • Safari
  • Opera
  • Edge
  • Internet Explorer (Not Supported).

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!