Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
style p isolated anywhere.
<!DOCTYPE html>
<!-- header content here -->
<section class="jumbotron">
<!-- jumbotron content -->
<section class="someOtherSection">
<!-- some other content -->
.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;

This comment has been minimized.

Copy link

@ckaltenbach904 ckaltenbach904 commented Dec 21, 2018

Hello Diogo,

so basically i did exactly what you told me but it is still the same, but no changes on jumbotron p



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.