Possible to make text in a tag with class “btn btn-default” (Bootstrap 3.3.7) match background? [duplicate]

Home / Uncategorized / Possible to make text in a tag with class “btn btn-default” (Bootstrap 3.3.7) match background? [duplicate]

Question:
This question already has an answer here:Transparent text cut out of background 9 answers

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:Log in

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:
Log in button

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:

Leave a Reply

Your email address will not be published. Required fields are marked *