CSS WidthSets the preferred width of an element.ExampleCopy codewidth: 100%;Further referenceMDN CSS referenceLive preview