public static CSSProperties WithSize(this CSSProperties properties, int?width = null, int?height = null)
    {
        if (width != null)
        {
            properties.width = width.Value;
        }

        if (height != null)
        {
            properties.height = height.Value;
        }
        return(properties);
    }
    public static CSSProperties WithPosition(this CSSProperties properties, int?left = null, int?top = null)
    {
        if (left != null)
        {
            properties.left = left.Value;
        }
        if (top != null)
        {
            properties.top = top.Value;
        }

        return(properties);
    }
    public static CSSProperties WithMargin(this CSSProperties properties, int?left = null, int?top = null,
                                           int?right = null, int?bottom = null)
    {
        if (left != null)
        {
            properties.marginLeft = left.Value;
        }
        if (top != null)
        {
            properties.marginTop = top.Value;
        }

        if (right != null)
        {
            properties.marginRight = right.Value;
        }

        if (bottom != null)
        {
            properties.marginBottom = bottom.Value;
        }
        return(properties);
    }