asp.net - CSS after is dropped when button changes to ASP Button -


query:

how can keep 'after' part of code working when change html button asp button. i'm not sure why drops?

issue:

when change <button <asp:button after part of css no longer works. part of code fails #course .bottom .btn-next:after

code:

#course .bottom .next {     padding-right: 40px; } #course .bottom .btn-next {     border-top-left-radius: 10px;     border-bottom-left-radius: 10px; } #course .bottom .btn-next:after {     left: 100%;     top: 50%;     border: solid transparent;     content: " ";     height: 0;     width: 0;     position: absolute;     border-color: rgba(255, 255, 255, 0);     border-left-color: #ffffff;     border-width: 20px;     margin-top: -20px; } 

research example:

is possible have :after pseudo element on button? (relates html not .net button)

the problem asp .net button renders , input type="submit".

you render follows (please note without markup taking guess):

<button runat="server" id="btnid" class="btn btn-next">     dooz </button> 

this render button tag notice runat="server" makes html server control.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -