Here is my code to create an info box:
\documentclass{article}
\usepackage{float}
\usepackage{blindtext}
\floatstyle{ruled}
\newfloat{InfoBox}{h}{}
\begin{document}
\begin{InfoBox}
\vspace{0.5cm}
\textbf{Point 1} \blindtext
\medskip
\textbf{Point 2} \blindtext
\medskip
\textbf{Point 3} \blindtext
\vspace{0.5cm}
\caption{This a caption}
\end{InfoBox}
\end{document}
How could I add a background color between the two lines that contain the main text? Thanks in advance!!
