--- title: Input with Prefix tags: visual,interactivity,intermediate --- Creates an input with a visual, non-editable prefix. - Create a parent element, containing the prefix and the input - Remove border and outline from the input, and apply it to the parent element, to give it the appearance of an input box - Use `:focus-within` selector to change the parent element style accordingly ```html