- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Currently I’m using this css bit to put a line behind my titles but I want to make things prettier with some SVG. Is it possible to add a background img border that goes on all lines of text via CSS? Maybe with a little help of js?
Thank you for any help. I can’t seem to find anything related to this.
.topic .topic-title{
font-size: 26px;
background-color: transparent;
position: relative;
box-shadow: inset 0 -10px 0 rgba(252, 208, 54,.5);
line-height: 28px;
}
Perhaps you have an image of the effect you are trying to achieve….it’s hard to visualise what you want at the moment?
This is what I’d wanted to make. http://oi63.tinypic.com/2mxl5hz.jpg
Ahhh…a couple of gradients is, I understand, the simplest option
Thank you. Î’ll go that way.