Is it possible to make the text in an a tag with the class "btn btn-default" match the background image? I am using Bootstrap 3.3.7 in Razor.
Here is the code in question:
<a class="btn btn-default" href="@Url.Action("Login", "Account")">Log in</a>
I want to make the button's text match the background. The button as it currently is is shown in the image provided by the following link:
As you can see, the text in the button is just grey, but I want the text to match the background, exactly. Would it be possible to make the text in this button match the background in a Razor view (Bootstrap 3.3.7)?
Here is an example of what I want but implemented in Android.
Thanks!
Edit: I have seen this solution, already. The problem with this is that as I scroll up and down the page, the text does not match the background behind itself, as if the text stayed in the same position at the top of the page the whole time. The text is actually nested, as shown in the following code:
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a class="btn btn-default" href="@Url.Action("Login", "Account")">
Simplified version of what I want:
Link that shows exactly what I want
I am sorry for not being clearer in the beginning, but you see the "Register" and "Login" buttons at the top right? I want "Register" and "Login" to be transparent, so when you scroll up and down, you can see the background through "Register" and "Login".