/*@cc_on /*@if (1) @else @*/ . /*@end @*/ <!-- /* JS <!-- */
/*@cc_on /*@if (1) @else @*/ . /*@end @*/ <!-- /* JS <!-- */
/*@cc_on /*@if (1) @else @*/ . /*@end @*/ <!-- /* JS <!-- */
/*@cc_on /*@if (1) @else @*/ . /*@end @*/ <!-- /* JS <!-- */
/*@cc_on /*@if (1) @else @*/ . /*@end @*/ <!-- /* JS <!-- */
/*@cc_on /*@if (1) @else @*/ . /*@end @*/ <!-- /* JS <!-- */
- <! - [if lt IE 8]>
- <script type = "text / javascript" src = "ie.min.css"> </ script>
- <link rel = "stylesheet" type = "text / css" href = "ie.min.css" />
- <! [endif] ->
- selector {
- width : expression ( expressions ( 'emulated action' , this , {
- property : 'send to cancel (usually identical to the one in which expression is called). If specified, the reset is reset and expression is not executed again. ' ,
- options : 'options, depending on the action'
- } ) ) ;
- }
- {
- name : 'attribute name' ,
- value : 'attribute value'
- }
- body {
- width : expression ( expressions ( 'before' , this , { property : 'width' , options : 'aaa' } ) ) ;
- height : expression ( expressions ( 'before' , this , { property : 'height' , options : 'bbb' } ) ) ; // Will not work
- top : expression ( expressions ( 'after' , this , { property : 'top' , options : 'ccc' } ) ) ;
- }
- .a1 , .a2 {
- width : expression ( expressions ( 'firstChild' , this , { property : 'width' } ) ) ;
- }
- table {
- width : expression ( expressions ( 'borderSpacing' , this , { property : 'width' , options : '10' } ) ) ;
- }
- input {
- height : expression ( expressions ( 'any' , this , { property : 'height' , options : function ( ) { this .runtimeStyle .backgroundColor = 'red' ; } } ) ) ;
- width : expression ( expressions ( 'attribute' , this , { property : 'width' , options : { name : 'type' , value : 'text' } } ) ) ;
- }
- .min-max {
- min-width : 400px ;
- max-width : 700px ;
- border : 10px solid red ;
- top : expression ( expressions ( 'width' , this ) ) ;
- padding : 10px ;
- margin : 10px ;
- }
Source: https://habr.com/ru/post/87935/