add tag
topnush
```
\documentclass{beamer}

\usepackage{tikz}
\usepackage{tcolorbox}
\begin{document}

\begin{frame}{Frame Title}
	\begin{tikzpicture}[remember picture, overlay]
		% Position the tcolorbox in the top right corner
		\node[anchor=north east, xshift=-0.5cm, yshift=-0.3cm] at (current page.north east) {
			\begin{tcolorbox}[colback=blue!5, 
				colframe=blue!75!black, 
				fonttitle=\bfseries, 
				width=4.5cm, 
				fontupper=\tiny, boxsep=1pt,
				left=2pt,
				right=2pt,
				top=0pt,
				bottom=0pt]
				$u\leftarrow ${\sc Operation}$(Q)$\\
				For {each node $v$ in Adj$[u]$}
				\vspace{-0.1cm} 
				\begin{itemize}
					\setlength\itemsep{0.1em}
					\item[] \hspace{-2.8em} If {$v \in Q$ and } 
					\item[] \hspace{-1.8em} $key[v] \leftarrow $  // {\sc Comment}\;
					\item[] \hspace{-1.8em} $\pi[v] \leftarrow$\;
				\end{itemize}
			\end{tcolorbox}
		};
	\end{tikzpicture}
\end{frame}
\end{document}
```

I want to make the line around the box dashed. I tried adding borderline to tcolorbox's arguments but it complains it doesn't recognise it.
Top Answer
samcarter
To use the `borderline` option you need to

- combine it with the `enhanced` option 
- load the `skins` library

```
\documentclass{beamer}

\usepackage[skins]{tcolorbox}

\begin{document}

\begin{frame}
  \frametitle{Frame Title}
  \begin{tcolorbox}[
    enhanced,
    colback=blue!5, 
  	fonttitle=\bfseries, 
  	width=4.5cm, 
  	fontupper=\tiny, boxsep=1pt,
  	left=2pt,
  	right=2pt,
  	top=0pt,
  	bottom=0pt,
    frame hidden,
    borderline={2pt}{0pt}{blue!75!black,dashed}
  ]
    text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text 
  \end{tcolorbox}
\end{frame}
\end{document}
```


![document-1.png](/image?hash=b63f32872f00d1966250dfd5043cc9980458fc4919b86ff05417f5fb6ca0b320)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.