I'm trying to create this effect (screen) for input field in the search form. The idea is for a diagonal line to appear at the end.
I have absolutely no idea how I can achieve it.
Now I have the usual bottom border, I think a good solution would be to add a pseudo-class element: after and then rotate by 45*. Do I mean right?
#searchform input[type="text"]{
border:none;
border-bottom: 1px solid #271010;
padding: 5px 10px;
width: 188px;
position: relative;
}