Created
December 21, 2018 19:35
-
-
Save Alphabetus/129a92e365096466738607bccc02b8d0 to your computer and use it in GitHub Desktop.
style p isolated anywhere.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- header content here --> | |
</head> | |
<body> | |
<section class="jumbotron"> | |
<!-- jumbotron content --> | |
</section> | |
<section class="someOtherSection"> | |
<!-- some other content --> | |
</section> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.jumbotron p { | |
/* style your jumbotron here */ | |
} | |
.sometOtherSection p{ | |
/* style the other content here */ | |
} | |
/* | |
There are several ways to approach here. you can assign id="uniqueID" to any element and style it isolated. | |
Or you can add class="someClass" and style the class. No matter what is the selector you choose or the way you pick | |
it should be really easy to style p inside jumbotron only. | |
On my personal choice, main sections have unique IDs so i can style specific element inside by using: | |
#sectionID selector { | |
stylyng parameters; | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Diogo,
so basically i did exactly what you told me but it is still the same, but no changes on jumbotron p
regards,
Catharina