Changes for page Application Guidelines
Last modified by Vincent Massol on 2024/02/26 17:56
<
>
edited by Ecaterina Moraru (Valica)
on 2014/01/15 10:02
on 2014/01/15 10:02
edited by Ecaterina Moraru (Valica)
on 2014/01/15 10:09
on 2014/01/15 10:09
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -42,4 +42,6 @@ 42 42 43 43 A solution is to use "//on demand//" SSX or to prefix your style with a CSS class specific to your application. Also make sure your classes don't overlap with [[other CSS classes>>platform:DevGuide.SpecialCSSClasses]] used by XWiki. 44 44 ))) 45 -1. 45 +1. Don't use ##inline## and ##!important## declarations ((( 46 + Always there is an alternative to rewrite the declarations, usually by adjusting the selector's [[specificity>>https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity]]. Using ##inline## and ##!important## declarations will backfire on the long term when others will want to maintain and integrate your application. 47 +)))