Interface IShorthandResolver
- All Known Implementing Classes:
-
AbstractBorderShorthandResolver,AbstractBoxShorthandResolver,AbstractCornersShorthandResolver,BackgroundPositionShorthandResolver,BackgroundShorthandResolver,BorderBottomShorthandResolver,BorderColorShorthandResolver,BorderLeftShorthandResolver,BorderRadiusShorthandResolver,BorderRightShorthandResolver,BorderShorthandResolver,BorderStyleShorthandResolver,BorderTopShorthandResolver,BorderWidthShorthandResolver,ColumnRuleShortHandResolver,ColumnsShorthandResolver,FlexFlowShorthandResolver,FlexShorthandResolver,FontShorthandResolver,GapShorthandResolver,GridColumnShorthandResolver,GridItemShorthandResolver,GridRowShorthandResolver,GridShorthandResolver,GridTemplateShorthandResolver,ListStyleShorthandResolver,MarginShorthandResolver,MarkerShorthandResolver,OutlineShorthandResolver,PaddingShorthandResolver,PlaceItemsShorthandResolver,TextDecorationShorthandResolver
public interface IShorthandResolver
Interface for shorthand resolvers.
CSS shorthand is a group of CSS properties that allow values of multiple properties to be set simultaneously. These values are separated by spaces. For example, the border property is shorthand for the border-width, border-style, and border-color properties. So in CSS, border: 5px solid red; would specify a border that’s five px wide, solid, and red.
-
Method Summary
Modifier and TypeMethodDescriptionresolveShorthand(String shorthandExpression) Resolves a shorthand expression.
-
Method Details
-
resolveShorthand
Resolves a shorthand expression.- Parameters:
-
shorthandExpression- the shorthand expression - Returns:
- a list of CSS declaration
-