On 14/02/2016 17:42, Julian Sedding wrote:
> Hi Vikas
>
> I agree that having the anchor text hidden is a usability hazard. I
> tried your suggested approach in Firefox (via FireBug) and didn't have
> any success. However, a slight variation of the scheme, still relying
> on the ":target" pseudo
Hi Vikas
I agree that having the anchor text hidden is a usability hazard. I
tried your suggested approach in Firefox (via FireBug) and didn't have
any success. However, a slight variation of the scheme, still relying
on the ":target" pseudo selector, did the trick for me.
h2 > a:target {
Hi,
I'm sure we all have noticed that our anchor tags scroll the page a
little too much such that the actual position gets hidden under the
same menu.
With google and this link [0], it seems, we can just plug-in
```
:target:before {
content:"";
display:block;
height:40px; /* fixed header