As I work on a therapy website, I've successfully created an animated HTML, CSS, and JavaScript nav toggler that works on all devices. However, I'm facing difficulty in making it smaller without impacting the alignment of the cross after activation. Here's the code:
<!Doctype html>
<html lang="en">
...
I'm trying to resize this hamburger toggler to make it suitable for both web and mobile use. Despite adjusting the width and height of .btnMenu02 and altering the height of the span lines within it, the cross icon ends up looking misaligned. Is there a way to shrink this toggler without affecting the cross icon's alignment?