There are 2 html files 1-index standard and 2 - menus with CSS. How can I insert a menu, that is, a code from 2 files into 1 file in the menu block, so that instead of links, buttons with sprites work (and then they have links to other sections)? 1 html file sprite

Created another file 3.css a {display: block; width: 185px; height: 52px; background: url ('3.css'); } a: hover {background-position: 0px -52px; } a: active {background-position: 0px -104px; } and added a link a href = "3.css"> 3css

in menu 1 of the file, as a result, the page displays 3css as a link and the file code opens in it

  • Maybe pugjs.org/api/getting-started.html will help? easy to learn. - CodeGust
  • what is it about? I basically got it β€” connected the css style in the html header, but the buttons are jumping now (although everything is fine in a separate other file - Stanislav

0