from IPython.core.display import HTML def css_styling(): styles = open("custom_style.css", "r").read() return HTML(styles) css_styling()