예제 #1
0
        public static ICssProperties WithStyle(this ICssProperties cssProperties, string name, string value)
        {
            cssProperties.WithStyle(name, new TextCssStyleValue(value));

            return(cssProperties);
        }
예제 #2
0
        public static ICssProperties WithlStyleInPixelUnit(this ICssProperties cssClass, string styleName, int value)
        {
            cssClass.WithStyle(styleName, new NumberCssStyleValue(value, CssUnits.Px));

            return(cssClass);
        }