I am new to CSS and styling and I'm trying to create something like a diagonal line for the header and footer of my React.js web app with CSS but I do not know how can I make it. I have tried some solution but it does not work properly. my web app is completely mobile-friendly.
here is my HTML login page code and I want to add these lines to my template:
<div class="">
<form>
<input class="" type="text" name="mobileOrEmail" required /><br />
<input class="" type="password" name="password" required /><br />
<button type="submit">login</button> <br />
<a href="/register">sign up</a> <br />
</form>
</div>