How to go for the block with relative positioning?

The task is to make dropdown menu as a horizontal list of links and drop-down hover menu. But the fact that the width of the drop down menu several times greater than the width of the menu item that a parent with position relative. When width: 100% drop-down menu becomes a width size of the menu item. How to do width was determined regardless of the width of parent with position: relative?
March 23rd 20 at 18:42
2 answers
March 23rd 20 at 18:44
Don't ask him the width at all, or specify minimum/maximum
March 23rd 20 at 18:46
Position: absolute for the element set or the dimensions set in % and: vw/vh, rem/em

Find more questions by tags HTMLCSS