答案1
也许是这样的:
\documentclass{article}
\usepackage[x11names]{xcolor}
\usepackage[most]{tcolorbox}
\newtcolorbox{shadedcvbox}[1][]{enhanced jigsaw,colback=white!60!blue,boxrule=0pt,arc=2mm,auto outer arc,boxsep=0pt,coltext={blue},#1}
\begin{document}
\begin{shadedcvbox}
Employment Experience
\end{shadedcvbox}
\end{document}
更新
\documentclass{article}
\usepackage[x11names]{xcolor}
\usepackage[most]{tcolorbox}
\newtcolorbox{shadedcvbox}[1][]{enhanced jigsaw,
colback=white!80!blue,
coltext={blue},
boxrule=0pt,
arc=3mm,
auto outer arc,
boxsep=3pt,
left=4pt,
right=2pt,
bottom=2pt,
top=2pt,
fontupper={\bfseries},
#1}
\begin{document}
\begin{shadedcvbox}
Employment Experience
\end{shadedcvbox}
\begin{shadedcvbox}[colback=yellow!80!white,coltext={red},drop fuzzy shadow={yellow!80!black}]
Employment Experience
\end{shadedcvbox}
\begin{shadedcvbox}[interior style={left color=blue!20!white, right color=yellow!50!white}]
Employment Experience
\end{shadedcvbox}
\end{document}