我有一件我想要的东西,但我找不到方法让我很恼火。
现在是这样的:
我希望红线是绿色的:
2 个相同的文本使用此 HTML:
<.article class="shadow">
<.header>
<h3>Welcome!<./h3>
<p><ul>(Vincent, 2014-11-07)</ul></p>
</header>
<br>
<p><b>Greetings visitors!</b></p>
<p>You have entered the URL to this site for a reason. To see my work related to making game music. You might aswell look into the FL Studio section, were you can listen to my music on the website or actually download the music to use it. You can also read about me and how these music tracks were made and what I had to go through to make these.</p>
<p>I hope you have a look around.</p>
</article>
我找不到更好的粘贴方法。不要介意 HTML 代码第一行中的“点”。
这是我目前使用的 CSS:
.shadow {
-webkit-box-shadow: inset 1px 0px 0px 0px #47D147;
}
我希望你能明白我想说什么。我不使用 javascript 或 php。我只使用 HTML 和 CSS。能解释一下CSS代码的作用吗?