forked from OpenGenus/cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Added _new _css _padding.html
fix issue OpenGenus#6724
- Loading branch information
1 parent
a969b71
commit ec081fd
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<style> | ||
.container { | ||
background-color: lightblue; | ||
padding: 20px; | ||
} | ||
|
||
.unique-padding { | ||
background-color: lightgreen; | ||
padding: 10px 20px 30px 40px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div class="container"> | ||
<p>This is a paragraph inside a div with a class of "container". The div has a padding of 20 pixels.</p> | ||
|
||
<div class="unique-padding"> | ||
<p>This is a paragraph inside a div with a class of "unique-padding". The div has a unique padding of 10px 20px 30px 40px.</p> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |