{ "title":"CSS line-clamp", "description":"Proprietary and undocumented CSS property that will contain text to a given amount of lines when used in combination with `display: -webkit-box`. It will end with ellipsis when `text-overflow: ellipsis` is included.", "spec":"https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-WebKit_SpecificUnsupportedProperties", "status":"unoff", "links":[ { "url":"http://guerillalabs.co/blog/css-line-clamping.html", "title":"Article on cross-browser CSS line clamping" }, { "url":"https://css-tricks.com/line-clampin/", "title":"CSS Tricks article" } ], "bugs":[ ], "categories":[ "CSS" ], "stats":{ "ie":{ "5.5":"n", "6":"n", "7":"n", "8":"n", "9":"n", "10":"n", "11":"n" }, "edge":{ "12":"n", "13":"n", "14":"n" }, "firefox":{ "2":"n", "3":"n", "3.5":"n", "3.6":"n", "4":"n", "5":"n", "6":"n", "7":"n", "8":"n", "9":"n", "10":"n", "11":"n", "12":"n", "13":"n", "14":"n", "15":"n", "16":"n", "17":"n", "18":"n", "19":"n", "20":"n", "21":"n", "22":"n", "23":"n", "24":"n", "25":"n", "26":"n", "27":"n", "28":"n", "29":"n", "30":"n", "31":"n", "32":"n", "33":"n", "34":"n", "35":"n", "36":"n", "37":"n", "38":"n", "39":"n", "40":"n", "41":"n", "42":"n", "43":"n", "44":"n", "45":"n", "46":"n", "47":"n", "48":"n", "49":"n", "50":"n", "51":"n", "52":"n", "53":"n" }, "chrome":{ "4":"u", "5":"u", "6":"u", "7":"u", "8":"u", "9":"u", "10":"u", "11":"u", "12":"u", "13":"u", "14":"y x", "15":"y x", "16":"y x", "17":"y x", "18":"y x", "19":"y x", "20":"y x", "21":"y x", "22":"y x", "23":"y x", "24":"y x", "25":"y x", "26":"y x", "27":"y x", "28":"y x", "29":"y x", "30":"y x", "31":"y x", "32":"y x", "33":"y x", "34":"y x", "35":"y x", "36":"y x", "37":"y x", "38":"y x", "39":"y x", "40":"y x", "41":"y x", "42":"y x", "43":"y x", "44":"y x", "45":"y x", "46":"y x", "47":"y x", "48":"y x", "49":"y x", "50":"y x", "51":"y x", "52":"y x", "53":"y x", "54":"y x", "55":"y x", "56":"y x", "57":"y x" }, "safari":{ "3.1":"n", "3.2":"n", "4":"n", "5":"y x", "5.1":"y x", "6":"y x", "6.1":"y x", "7":"y x", "7.1":"y x", "8":"y x", "9":"y x", "9.1":"y x", "10":"y x", "TP":"y x" }, "opera":{ "9":"n", "9.5-9.6":"n", "10.0-10.1":"n", "10.5":"n", "10.6":"n", "11":"n", "11.1":"n", "11.5":"n", "11.6":"n", "12":"n", "12.1":"n", "15":"y x", "16":"y x", "17":"y x", "18":"y x", "19":"y x", "20":"y x", "21":"y x", "22":"y x", "23":"y x", "24":"y x", "25":"y x", "26":"y x", "27":"y x", "28":"y x", "29":"y x", "30":"y x", "31":"y x", "32":"y x", "33":"y x", "34":"y x", "35":"y x", "36":"y x", "37":"y x", "38":"y x", "39":"y x", "40":"y x", "41":"y x", "42":"y x", "43":"y x" }, "ios_saf":{ "3.2":"n", "4.0-4.1":"n", "4.2-4.3":"n", "5.0-5.1":"y x", "6.0-6.1":"y x", "7.0-7.1":"y x", "8":"y x", "8.1-8.4":"y x", "9.0-9.2":"y x", "9.3":"y x", "10-10.1":"y x" }, "op_mini":{ "all":"n" }, "android":{ "2.1":"u", "2.2":"u", "2.3":"y x", "3":"y x", "4":"y x", "4.1":"y x", "4.2-4.3":"y x", "4.4":"y x", "4.4.3-4.4.4":"y x", "53":"y x" }, "bb":{ "7":"y x", "10":"y x" }, "op_mob":{ "10":"n", "11":"n", "11.1":"n", "11.5":"n", "12":"n", "12.1":"n", "37":"y x" }, "and_chr":{ "54":"y x" }, "and_ff":{ "50":"n" }, "ie_mob":{ "10":"n", "11":"n" }, "and_uc":{ "11":"y x" }, "samsung":{ "4":"y x" } }, "notes":"As there is no specification and the property is dependent on an outdated implementation of flexbox (hence `display: -webkit-box`) it is unlikely that other browsers will support the property as-is, although an alternative solution may at some point replace it.\r\n\r\nOlder (presto-based) versions of the Opera browser have also supported the same effect using the proprietary `-o-ellipsis-lastline;` value for `text-overflow`.", "notes_by_num":{ }, "usage_perc_y":79.99, "usage_perc_a":0, "ucprefix":false, "parent":"", "keywords":"", "ie_id":"", "chrome_id":"", "firefox_id":"", "webkit_id":"", "shown":true }