Page 1 of 1
	
		
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{tcolorbox}
\usepackage{fontawesome5}
\usepackage{pifont}
\usetikzlibrary{shadows}
\tcbuselibrary{skins,raster,breakable}
\usetikzlibrary{decorations.pathmorphing}

\begin{document}

\begin{tikzpicture}
% Rectangle with wavy border and text node
\node[
    shape=rectangle, % Rectangle shape
    decorate,
    decoration={random steps, segment length=2mm, amplitude=2mm}, % Wavy effect
    fill=cyan!20, % Background color
    draw=red, % Border color
    line width=1pt, % Border thickness
    inner sep=8pt, % Padding between text and border
    text width=6.5cm, % Width of the text box
    align=center, % Center the text
    rotate=-10,
] (sticker) at (0, 0) { % Position of the sticker
    \textbf{The answer to life the universe and everything }\\[0.3em]
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.
};

% Label
\node[red, font=\fontsize{28}{30}\selectfont] at ([xshift=0.5cm]sticker.north west) {
   \includegraphics[width=1cm]{pin.png}
};


\end{tikzpicture}

\end{document}

	

Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى

Class: Figures
Views:  81




0 Comments, Latest

No comments yet. Be the first to Comment

Most viewed courses: