Ei kuvausta

css-gencontent.json 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. {
  2. "title":"CSS Generated content for pseudo-elements",
  3. "description":"Method of displaying text or images before or after the given element's contents using the ::before and ::after pseudo-elements. All browsers with support also support the `attr()` notation in the `content` property. ",
  4. "spec":"https://www.w3.org/TR/CSS21/generate.html",
  5. "status":"rec",
  6. "links":[
  7. {
  8. "url":"http://www.westciv.com/style_master/academy/css_tutorial/advanced/generated_content.html",
  9. "title":"Guide on usage"
  10. },
  11. {
  12. "url":"https://dev.opera.com/articles/view/css-generated-content-techniques/",
  13. "title":"Dev.Opera article"
  14. },
  15. {
  16. "url":"https://www.webplatform.org/docs/css/generated_and_replaced_content",
  17. "title":"WebPlatform Docs"
  18. }
  19. ],
  20. "bugs":[
  21. {
  22. "description":"Chrome supports CSS transitions on generated content as of v. 26. Safari v6 and below do not support transitions or animations on pseudo elements."
  23. },
  24. {
  25. "description":"IE9, IE10, IE11 ignore CSS rem units in the line-height property. [Bug report](https://connect.microsoft.com/IE/feedback/details/776744/css3-using-rem-to-set-line-height-in-before-after-pseudo-elements-doesnt-work)."
  26. },
  27. {
  28. "description":"Firefox & Edge do not support `:after` and `:before` for input fields"
  29. }
  30. ],
  31. "categories":[
  32. "CSS2",
  33. "CSS3"
  34. ],
  35. "stats":{
  36. "ie":{
  37. "5.5":"n",
  38. "6":"n",
  39. "7":"n",
  40. "8":"a #1",
  41. "9":"y",
  42. "10":"y",
  43. "11":"y"
  44. },
  45. "edge":{
  46. "12":"y",
  47. "13":"y",
  48. "14":"y",
  49. "15":"y",
  50. "16":"y",
  51. "17":"y"
  52. },
  53. "firefox":{
  54. "2":"y",
  55. "3":"y",
  56. "3.5":"y",
  57. "3.6":"y",
  58. "4":"y",
  59. "5":"y",
  60. "6":"y",
  61. "7":"y",
  62. "8":"y",
  63. "9":"y",
  64. "10":"y",
  65. "11":"y",
  66. "12":"y",
  67. "13":"y",
  68. "14":"y",
  69. "15":"y",
  70. "16":"y",
  71. "17":"y",
  72. "18":"y",
  73. "19":"y",
  74. "20":"y",
  75. "21":"y",
  76. "22":"y",
  77. "23":"y",
  78. "24":"y",
  79. "25":"y",
  80. "26":"y",
  81. "27":"y",
  82. "28":"y",
  83. "29":"y",
  84. "30":"y",
  85. "31":"y",
  86. "32":"y",
  87. "33":"y",
  88. "34":"y",
  89. "35":"y",
  90. "36":"y",
  91. "37":"y",
  92. "38":"y",
  93. "39":"y",
  94. "40":"y",
  95. "41":"y",
  96. "42":"y",
  97. "43":"y",
  98. "44":"y",
  99. "45":"y",
  100. "46":"y",
  101. "47":"y",
  102. "48":"y",
  103. "49":"y",
  104. "50":"y",
  105. "51":"y",
  106. "52":"y",
  107. "53":"y",
  108. "54":"y",
  109. "55":"y",
  110. "56":"y",
  111. "57":"y",
  112. "58":"y",
  113. "59":"y",
  114. "60":"y",
  115. "61":"y"
  116. },
  117. "chrome":{
  118. "4":"y",
  119. "5":"y",
  120. "6":"y",
  121. "7":"y",
  122. "8":"y",
  123. "9":"y",
  124. "10":"y",
  125. "11":"y",
  126. "12":"y",
  127. "13":"y",
  128. "14":"y",
  129. "15":"y",
  130. "16":"y",
  131. "17":"y",
  132. "18":"y",
  133. "19":"y",
  134. "20":"y",
  135. "21":"y",
  136. "22":"y",
  137. "23":"y",
  138. "24":"y",
  139. "25":"y",
  140. "26":"y",
  141. "27":"y",
  142. "28":"y",
  143. "29":"y",
  144. "30":"y",
  145. "31":"y",
  146. "32":"y",
  147. "33":"y",
  148. "34":"y",
  149. "35":"y",
  150. "36":"y",
  151. "37":"y",
  152. "38":"y",
  153. "39":"y",
  154. "40":"y",
  155. "41":"y",
  156. "42":"y",
  157. "43":"y",
  158. "44":"y",
  159. "45":"y",
  160. "46":"y",
  161. "47":"y",
  162. "48":"y",
  163. "49":"y",
  164. "50":"y",
  165. "51":"y",
  166. "52":"y",
  167. "53":"y",
  168. "54":"y",
  169. "55":"y",
  170. "56":"y",
  171. "57":"y",
  172. "58":"y",
  173. "59":"y",
  174. "60":"y",
  175. "61":"y",
  176. "62":"y",
  177. "63":"y",
  178. "64":"y",
  179. "65":"y",
  180. "66":"y",
  181. "67":"y"
  182. },
  183. "safari":{
  184. "3.1":"y",
  185. "3.2":"y",
  186. "4":"y",
  187. "5":"y",
  188. "5.1":"y",
  189. "6":"y",
  190. "6.1":"y",
  191. "7":"y",
  192. "7.1":"y",
  193. "8":"y",
  194. "9":"y",
  195. "9.1":"y",
  196. "10":"y",
  197. "10.1":"y",
  198. "11":"y",
  199. "11.1":"y",
  200. "TP":"y"
  201. },
  202. "opera":{
  203. "9":"y",
  204. "9.5-9.6":"y",
  205. "10.0-10.1":"y",
  206. "10.5":"y",
  207. "10.6":"y",
  208. "11":"y",
  209. "11.1":"y",
  210. "11.5":"y",
  211. "11.6":"y",
  212. "12":"y",
  213. "12.1":"y",
  214. "15":"y",
  215. "16":"y",
  216. "17":"y",
  217. "18":"y",
  218. "19":"y",
  219. "20":"y",
  220. "21":"y",
  221. "22":"y",
  222. "23":"y",
  223. "24":"y",
  224. "25":"y",
  225. "26":"y",
  226. "27":"y",
  227. "28":"y",
  228. "29":"y",
  229. "30":"y",
  230. "31":"y",
  231. "32":"y",
  232. "33":"y",
  233. "34":"y",
  234. "35":"y",
  235. "36":"y",
  236. "37":"y",
  237. "38":"y",
  238. "39":"y",
  239. "40":"y",
  240. "41":"y",
  241. "42":"y",
  242. "43":"y",
  243. "44":"y",
  244. "45":"y",
  245. "46":"y",
  246. "47":"y",
  247. "48":"y",
  248. "49":"y",
  249. "50":"y",
  250. "51":"y",
  251. "52":"y"
  252. },
  253. "ios_saf":{
  254. "3.2":"y",
  255. "4.0-4.1":"y",
  256. "4.2-4.3":"y",
  257. "5.0-5.1":"y",
  258. "6.0-6.1":"y",
  259. "7.0-7.1":"y",
  260. "8":"y",
  261. "8.1-8.4":"y",
  262. "9.0-9.2":"y",
  263. "9.3":"y",
  264. "10.0-10.2":"y",
  265. "10.3":"y",
  266. "11.0-11.2":"y",
  267. "11.3":"y"
  268. },
  269. "op_mini":{
  270. "all":"y"
  271. },
  272. "android":{
  273. "2.1":"y",
  274. "2.2":"y",
  275. "2.3":"y",
  276. "3":"y",
  277. "4":"y",
  278. "4.1":"y",
  279. "4.2-4.3":"y",
  280. "4.4":"y",
  281. "4.4.3-4.4.4":"y",
  282. "62":"y"
  283. },
  284. "bb":{
  285. "7":"y",
  286. "10":"y"
  287. },
  288. "op_mob":{
  289. "10":"y",
  290. "11":"y",
  291. "11.1":"y",
  292. "11.5":"y",
  293. "12":"y",
  294. "12.1":"y",
  295. "37":"y"
  296. },
  297. "and_chr":{
  298. "64":"y"
  299. },
  300. "and_ff":{
  301. "57":"y"
  302. },
  303. "ie_mob":{
  304. "10":"y",
  305. "11":"y"
  306. },
  307. "and_uc":{
  308. "11.8":"y"
  309. },
  310. "samsung":{
  311. "4":"y",
  312. "5":"y",
  313. "6.2":"y"
  314. },
  315. "and_qq":{
  316. "1.2":"y"
  317. },
  318. "baidu":{
  319. "7.12":"y"
  320. }
  321. },
  322. "notes":"For content to appear in pseudo-elements, the `content` property must be set (but may be an empty string).",
  323. "notes_by_num":{
  324. "1":"IE8 only supports the single-colon CSS 2.1 syntax (i.e. :pseudo-class). It does not support the double-colon CSS3 syntax (i.e. ::pseudo-element)."
  325. },
  326. "usage_perc_y":97.99,
  327. "usage_perc_a":0.21,
  328. "ucprefix":false,
  329. "parent":"",
  330. "keywords":"before,after",
  331. "ie_id":"",
  332. "chrome_id":"",
  333. "firefox_id":"",
  334. "webkit_id":"",
  335. "shown":true
  336. }