If you're using beamer you can do some nice text boxes using:
\begin{block}{block title}content of block\end{block}
Which gives a text box something like this (the box with the header Esimerkki):
How can I do the same thing in a regular latex document (I really like the look of the beamer text boxes and would like as close to this as possible).
Minimal reproducible example:
\documentclass{scrartcl}
\begin{document}
I wish I were inside of a really super cool text box so all the word would stop and look at me and say wow that text is pretty. But alas I am just ordinary \LaTeX{} text. I am sad.
\end{document}