0
Need help in CSS
How should I add css on the #text that is not inside the html tag
11 Respostas
+ 1
Please link an example code.
Usually every tag should go inside of the html tag and most go even on the body tag.
+ 1
The "of" and "raised" is out of the tag
+ 1
Simply style the container...
0
<div class="container" >
<span class="income" data-amount="{"quot;:" 0"}">$0</span>
" of " ==
<span class=" goal-text" data-amount="{" quot;:1000}">$1000</span>
" raised"
</div>
0
But I just wan to change the text colour on "of" and " raised" only
0
Then it would be helpful to give a working example?
You can link your code like this:
Go to Code section, click +, select the programming language, insert your code, save. Come back to this thread, click +, Insert Code, sort for My Code Bits, select your code.
You could use an own class for "of" and "raise" by putting them in own span-tags. Or just put it all in a subcontainer with an own class
0
Okayyy
0
I think I have solved the issue just style the container like what you have mentioned
0
Thanks Lisa
- 1
You can use external css
Or internal
Internal can be use your head tag
<style>
</styel>
External Can be used Another CSS file like style. css
<LINK src="style.css" >