Skip to content

Can't set @apply shadow-none to input elements #3580

@rebasecase

Description

@rebasecase

Current Behavior

Can't remove border around inputs (intuitively)

Expected Behavior

Should behave same as

input {
  box-shadow: none;
}

Steps To Reproduce

<label class="label">
  <span class="label-text">Input</span>
  <input class="input" type="text" placeholder="Input" />
</label>
input {
  @apply shadow-none;
}

Link to Reproduction / Stackblitz

No response

Environment Information

More Information

Incorrect:
Image

Correct:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions