parens.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. a {
  2. prop1: func(1px,1px,1px,func(1px,1px,1px,func(1px,1px,1px)));
  3. prop2: func( 1px ,1px ,1px ,func( 1px ,1px ,1px ,func( 1px ,1px ,1px ) ) );
  4. prop3: func(1px, 1px, 1px, func(1px, 1px, 1px, func(1px, 1px, 1px)));
  5. prop4: func( 1px , 1px , 1px , func( 1px , 1px , 1px , func( 1px , 1px , 1px ) ) );
  6. prop5: func( 1px , 1px , 1px , func( 1px , 1px , 1px , func( 1px , 1px , 1px ) ) );
  7. prop6: func(
  8. 1px
  9. ,
  10. 1px
  11. ,
  12. 1px
  13. ,
  14. func(
  15. 1px
  16. ,
  17. 1px
  18. ,
  19. 1px
  20. ,
  21. func(
  22. 1px
  23. ,
  24. 1px
  25. ,
  26. 1px
  27. )
  28. )
  29. );
  30. prop7:
  31. func(
  32. 1px
  33. ,
  34. 1px
  35. ,
  36. 1px
  37. ,
  38. func(
  39. 1px
  40. ,
  41. 1px
  42. ,
  43. 1px
  44. ,
  45. func(
  46. 1px
  47. ,
  48. 1px
  49. ,
  50. 1px
  51. )
  52. )
  53. );
  54. prop8: very-very-very-very-very-very-vey-very-very-long-func(1px,1px,1px,very-very-very-very-very-very-vey-very-very-long-func(1px,1px,1px,very-very-very-very-very-very-vey-very-very-long-func(1px,1px,1px)));
  55. prop9: very-very-very-very-very-very-vey-very-very-long-func( 1px , 1px , 1px , very-very-very-very-very-very-vey-very-very-long-func( 1px , 1px , 1px , very-very-very-very-very-very-vey-very-very-long-func( 1px , 1px , 1px ) ) );
  56. prop10:
  57. very-very-very-very-very-very-vey-very-very-long-func(
  58. 1px
  59. ,
  60. 1px
  61. ,
  62. 1px
  63. ,
  64. very-very-very-very-very-very-vey-very-very-long-func(
  65. 1px
  66. ,
  67. 1px
  68. ,
  69. 1px,
  70. very-very-very-very-very-very-vey-very-very-long-func(
  71. 1px
  72. ,
  73. 1px
  74. ,
  75. 1px
  76. )
  77. )
  78. );
  79. prop11: very-very-very-very-very-very-vey-very-very-long-func(
  80. 1px
  81. ,
  82. 1px
  83. ,
  84. 1px
  85. ,
  86. very-very-very-very-very-very-vey-very-very-long-func(
  87. 1px
  88. ,
  89. 1px
  90. ,
  91. 1px,
  92. very-very-very-very-very-very-vey-very-very-long-func(
  93. 1px
  94. ,
  95. 1px
  96. ,
  97. 1px
  98. )
  99. )
  100. );
  101. }
  102. a {
  103. box-shadow: inset 0 $size $size (-$size) black;
  104. width: calc(100% - (#{var(--g-spacing)} - #{$iframe-x-padding}) * 2);
  105. padding-right: (100% * $info-width / (1 - $image-width));
  106. padding-bottom:
  107. (
  108. 100% *
  109. $image-height / ($image-width-responsive + $image-margin-responsive * 2)
  110. );
  111. }
  112. .foo {
  113. --paddingC: calc( var( --widthB ) / 2 );
  114. content: attr( data-title );
  115. color: var( --main-bg-color );
  116. background-color: rgb( 255, 0, 0 );
  117. background: element( #css-source );
  118. width: calc( 100% - ( #{var(--g-spacing)} - #{$iframe-x-padding} ) * 2 );
  119. padding-bottom:
  120. (
  121. 100% *
  122. $image-height / ( $image-width-responsive + $image-margin-responsive * 2 )
  123. );
  124. padding-top: var( --paddingC );
  125. margin: 1*1 (1)*1 1*(1) (1)*(1);
  126. prop: -1*-1 -(-1)*-1 -1*-(-1) -(-1)*-(-1);
  127. prop1: #{($m)*(10)};
  128. prop2: #{$m * 10};
  129. prop3: #{-(-$m)*-(-10)};
  130. prop4: +1;
  131. prop5: -1;
  132. prop6: word + 1; /* word1 */
  133. prop7: word - 1; /* word-1 */
  134. prop8: +1 +1 +1 +1; /* +1 +1 +1 +1 */
  135. prop9: -1 -1 -1 -1; /* -1 -1 -1 -1 */
  136. prop10: (-1);
  137. prop11: (+1);
  138. prop12: 10px/8px;
  139. prop13: round(1.5)/2 round(1.5) /2 round(1.5)/ 2 round(1.5) / 2;
  140. prop14: 2/round(1.5) 2 /round(1.5) 2/ round(1.5) 2 / round(1.5);
  141. prop15: (round(1.5)/2) (round(1.5) /2) (round(1.5)/ 2) (round(1.5) / 2);
  142. prop16: (2/round(1.5)) (2 /round(1.5)) (2/ round(1.5)) (2 / round(1.5));
  143. prop17: $width/2 $width /2 $width/ 2 $width / 2;
  144. prop18: 2/$width 2 /$width 2/ $width 2 / $width;
  145. prop19: ($width/2) ($width /2) ($width/ 2) ($width / 2);
  146. prop20: (2/$width) (2 /$width) (2/ $width) (2 / $width);
  147. prop21: @width/2 @width /2 @width/ 2 @width / 2;
  148. prop22: 2/@width 2 /@width 2/ @width 2 / @width;
  149. prop23: (@width/2) (@width /2) (@width/ 2) (@width / 2);
  150. prop24: (2/@width) (2 /@width) (2/ @width) (2 / @width);
  151. prop25-1: #{$width}/#{$width} #{$width} /#{$width} #{$width}/ #{$width} #{$width} / #{$width};
  152. prop25-2: #{$width}*#{$width} #{$width} *#{$width} #{$width}* #{$width} #{$width} * #{$width};
  153. prop25-3: #{$width}+#{$width} #{$width} +#{$width} #{$width}+ #{$width} #{$width} + #{$width};
  154. prop25-4: #{$width}-#{$width} #{$width} -#{$width} #{$width}- #{$width} #{$width} - #{$width};
  155. prop26: 8px/2px 8px /1 1/ 2px 1 / 2;
  156. prop27: 8px/2px 8px/1 1/2px 1/2;
  157. prop28: 8px / 2px 8px / 1 1 / 2px 1 / 2;
  158. prop29: (8px/2px) (8px/1) (1/2px) (1/2);
  159. prop30: (8px / 2px) (8px / 1) (1 / 2px) (1 / 2);
  160. prop31: (#{$width}/2px) (8px/#{$width}) (#{$width} / 2px) (8px / #{$width});
  161. prop32: func(8px/2);
  162. prop33: 5px + 8px/2px;
  163. prop34: func(+20px, + 20px);
  164. prop35: 1+1+1+1;
  165. prop36: 1 + 1 + 1 + 1;
  166. prop37: 1 +1 1 +1;
  167. prop38: ++1;
  168. prop39: ++(1);
  169. prop40: --1;
  170. prop41: --(1);
  171. prop42: 1px+1px+1px+1px;
  172. prop43: 1px + 1px + 1px + 1px;
  173. prop44: -1+-1 -(-1)+-1 -1+-(-1) -(-1)+-(-1);
  174. prop45: round(1.5)*2 round(1.5) *2 round(1.5)* 2 round(1.5) * 2;
  175. prop46: 2*round(1.5) 2 *round(1.5) 2* round(1.5) 2 * round(1.5);
  176. prop47: (round(1.5)*2) (round(1.5) *2) (round(1.5)* 2) (round(1.5) * 2);
  177. prop48: (2*round(1.5)) (2 *round(1.5)) (2* round(1.5)) (2 * round(1.5));
  178. prop49: $width*2 $width *2 $width* 2 $width * 2;
  179. prop50: 2*$width 2 *$width 2* $width 2 * $width;
  180. prop51: ($width*2) ($width *2) ($width* 2) ($width * 2);
  181. prop52: (2*$width) (2 *$width) (2* $width) (2 * $width);
  182. prop53: @width*2 @width *2 @width* 2 @width * 2;
  183. prop54: 2*@width 2 *@width 2* @width 2 * @width;
  184. prop55: (@width*2) (@width *2) (@width* 2) (@width * 2);
  185. prop56: (2*@width) (2 *@width) (2* @width) (2 * @width);
  186. prop57: round(1.5)+2 round(1.5) +2 round(1.5)+ 2 round(1.5) + 2;
  187. prop58: 2+round(1.5) 2 +round(1.5) 2+ round(1.5) 2 + round(1.5);
  188. prop59: (round(1.5)+2) (round(1.5) +2) (round(1.5)+ 2) (round(1.5) + 2);
  189. prop60: (2+round(1.5)) (2 +round(1.5)) (2+ round(1.5)) (2 + round(1.5));
  190. prop61: $width+2 $width +2 $width+ 2 $width + 2;
  191. prop62: 2+$width 2 +$width 2+ $width 2 + $width;
  192. prop63: ($width+2) ($width +2) ($width+ 2) ($width + 2);
  193. prop64: (2+$width) (2 +$width) (2+ $width) (2 + $width);
  194. prop65: @width+2 @width +2 @width+ 2 @width + 2;
  195. prop66: 2+@width 2 +@width 2+ @width 2 + @width;
  196. prop67: (@width+2) (@width +2) (@width+ 2) (@width + 2);
  197. prop68: (2+@width) (2 +@width) (2+ @width) (2 + @width);
  198. prop69: "test"+1 "test" +1 "test"+ 1 "test" + 1;
  199. prop70: 1+"test" 1 +"test" 1+ "test" 1 + "test";
  200. prop71: "test"-1 "test" -1 "test"- 1 "test" - 1;
  201. prop72: 1-"test" 1 -"test" 1- "test" 1 - "test";
  202. prop73: calc(100%*2px) calc(100% *2px) calc(100%* 2px) calc(100% * 2px);
  203. prop74: calc(100%/2px) calc(100% /2px) calc(100%/ 2px) calc(100% / 2px);
  204. prop75: calc(100%+2px) calc(100% +2px) calc(100%+ 2px) calc(100% + 2px);
  205. prop76: calc(100%-2px) calc(100% -2px) calc(100%- 2px) calc(100% - 2px);
  206. prop77: calc(-5px);
  207. prop78: calc(+5px);
  208. prop79: calc(-100px + 100px);
  209. prop80: calc(+100px + 100px);
  210. prop81: calc(100px - 100px);
  211. prop82: calc(100px + 100px);
  212. }
  213. .bar {
  214. prop1: attr(data-foo);
  215. prop2: attr( data-foo );
  216. prop3: attr( data-foo );
  217. prop4: attr(
  218. data-foo
  219. );
  220. prop5: attr(
  221. data-foo
  222. );
  223. prop6:
  224. attr(data-foo);
  225. prop7:
  226. attr(
  227. data-foo
  228. );
  229. prop8:
  230. attr(
  231. data-foo
  232. )
  233. ;
  234. prop9:"("attr(title)")";
  235. prop10: "(" attr( title ) ")";
  236. prop11: "(" attr( title ) ")";
  237. prop12: "("
  238. attr(title)
  239. ")";
  240. prop13:
  241. "("
  242. attr(title)
  243. ")";
  244. prop14:
  245. "("
  246. attr(
  247. title
  248. )
  249. ")";
  250. prop15:
  251. "("
  252. attr(
  253. title
  254. )
  255. ")"
  256. ;
  257. prop16: attr(length em);
  258. prop17: attr(length em);
  259. prop18: attr(length em);
  260. prop19: attr(
  261. length
  262. em
  263. );
  264. prop20:attr(data-size em,20);
  265. prop21: attr( data-size em , 20 );
  266. prop22: attr( data-size em , 20 );
  267. prop23: attr(
  268. data-size em,
  269. 20
  270. );
  271. prop24:
  272. attr(
  273. data-size em,
  274. 20
  275. );
  276. prop25:
  277. attr(
  278. data-size
  279. em,
  280. 20
  281. )
  282. ;
  283. }
  284. .bar {
  285. filter: progid:DXImageTransform.Microsoft.gradient(enabled='false',startColorstr='#fff',endColorstr='#000');
  286. filter: progid:DXImageTransform.Microsoft.Shadow(color='#042b47', Direction=45, Strength=6) progid:DXImageTransform.Microsoft.Shadow(color='#042b47', Direction=135, Strength=6);
  287. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#fad59f, endColorstr=#fa9907)";
  288. }
  289. .unicode-ranges
  290. {
  291. /* <unicode-range> values */
  292. unicode-range: U+26; /* single codepoint */
  293. unicode-range: U+0-7F;
  294. unicode-range: U+0025-00FF; /* codepoint range */
  295. unicode-range: U+4??; /* wildcard range */
  296. unicode-range: U+0025-00FF, U+4??; /* multiple values */
  297. }