Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new css padding example code and image.[hactoberfest] #6664

Open
1 of 4 tasks
Shivani1917 opened this issue Oct 25, 2022 · 2 comments
Open
1 of 4 tasks

Added new css padding example code and image.[hactoberfest] #6664

Shivani1917 opened this issue Oct 25, 2022 · 2 comments

Comments

@Shivani1917
Copy link
Contributor

Shivani1917 commented Oct 25, 2022

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:
Example code for padding css.
Image is attached for the preview.

code html

resolves #6663

@Subhadip956425
Copy link

In this example, the CSS padding property is used to add space around the content of a div element. The padding property can take four values: top, right, bottom, and left. In this case, the padding is set to 20 pixels for all four sides for the container div.

The unique-padding div has a different padding value of 10px 20px 30px 40px. This means that the top padding is 10 pixels, the right padding is 20 pixels, the bottom padding is 30 pixels, and the left padding is 40 pixels.
Screenshot 2023-10-03 204415

@Subhadip956425
Copy link

please asign me

Subhadip956425 added a commit to Subhadip956425/cosmos that referenced this issue Oct 3, 2023
solved issue OpenGenus#6664 


In this example, the CSS padding property is used to add space around the content of a div element. The padding property can take four values: top, right, bottom, and left. In this case, the padding is set to 20 pixels for all four sides for the container div.

The unique-padding div has a different padding value of 10px 20px 30px 40px. This means that the top padding is 10 pixels, the right padding is 20 pixels, the bottom padding is 30 pixels, and the left padding is 40 pixels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants