def dict_to_inline_style(css_styles):
    """
    flattens dictionary to inline style
    :param css_styles: obj with css styles
    :return: str, flattened inline styles
    """
    inline_styles = '"'
    for key in css_styles:
        inline_styles += key + ':' + css_styles[key] + ';'
    inline_styles += '"'
    return inline_styles