Skip to main content

All Questions

Tagged with
0 votes
1 answer
75 views

Avoid applying style to :after when using :hover [duplicate]

I am using :after to allow myself a border with a radius and a gradient, like: #main .element { border-radius: 10px; background: #FFF; } #main .element:after { border-radius: ...
William Paul's user avatar
2 votes
1 answer
4k views

How to get a hover effect for glyphicon icons?

I'm trying to make glyphicon icon appear every time I hover my mouse over it. And I'm using <span> tag for it. But this refuses to work. What have I done wrong? application.scss /* *= ...
Alex Nikolsky's user avatar
3 votes
0 answers
246 views

How do I modify properties of pseudo-elements with jQuery? [duplicate]

I'm using CSS generated content to add a fade to the bottom of my page: body::after { background: linear-gradient(transparent, #000); bottom: 0; content: ""; height: 25%; left: 0; ...
daGUY's user avatar
  • 28.8k
0 votes
2 answers
102 views

jquery remove based on before content

Is it possible to write a JQuery function that will remove everything with a specific :before content. here is an example statement to give you something to show me with code: remove all elements ...
Ryan Saxe's user avatar
  • 17.9k
4 votes
2 answers
15k views

Add a link href with css content

I need to set an url after the class module-content, with pure css. This code doesn't work, but basically i need to set the Custom‌·Link in the content: ' ' attr(href);. <div class="module-...
user1311784's user avatar