我正在尝试针对功能列表。在我的CSS中,我有:
.skills .about {
width: 490px;
text-align: justify;
line-height: 20px;
/*letter-spacing: 0px;*/
}
.skills .about ul li {
display: none;
}
我不知道如何针对特定的 UL 列表。我需要更改line-height
列表以匹配line-height
班级.skills .about
。我该怎么做?
<div id="about">
<div class="aboutText">
<h1>Who's Sam Jarvis?</h1>
<div class="skills">
<span class="h2span"><h2>Bio</h2></span>
<p class="about">
I’m a Freelance Designer currently working out of Holland Landing, Ontario. Over the last three years I’ve spent my time as a Graphic Design student at Seneca@York honing my skills and creating many of the works that are currently in my portfolio. The creative field is where I strive and though I get paid to design I also dabble in photography, illustration, playing guitar and <strong>wheeled foot maneuvers</strong>.
</p>
<h2>Education</h2>
<p class="about">
Advanced Diploma in Graphic Design
Seneca College of Applied Arts and Technology
</p>
<h2>Capabilities</h2>
<p class="about">
<ul>
<li>Branding & Art Direction</li>
<li>Interface Design</li>
<li>Adobe Creative Suite</li>
<li>Web Standards & Accessibility</li>
</ul>
</p>
</div>
</div>
</div>