I am facing an issue with some HTML code I have. Here is the structure:
<ion-content>
<ion-tab>
The problem arises when the DOM is generated, as the HTML5 tag creates a div element that I am unable to modify using CSS.
It ends up looking like this:
<ion-content>
<div class="foo">
<ion-tab>
I need to style the specific div with the class "foo", but altering the CSS for foo affects all elements with the same class name.
How can I target and apply CSS only to that particular div which I did not create manually?