Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

279
Views
how to give margin/padding to a particular word in a sentence using css
<h1>We rise by <span class="span1">lifting</span> others up</h1>

I want to give a margin-bottom only to the word "lifting" how should I do that?

about 4 years ago · Santiago Gelvez
3 answers
Answer question

0

.span1 {
 vertical-align:super;
}
<h1>We rise by <span class="span1">lifting</span> others up</h1>

about 4 years ago · Santiago Gelvez Report

0

You can use the style tag to do some CSS styling.

<style>
    .span1{
        margin: 30px;
        padding: 12px;
    }

</style>
about 4 years ago · Santiago Gelvez Report

0

.span1 {
  display: inline-block;
  margin: 10px;
  padding: 10px;
}
<h1>We rise by <span class="span1">lifting</span> others up</h1>

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!