Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-05-05 16:49:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

[SOLVED] css pseudo classes

Does anybody know how I can create a pseudo class for rel="external noopener"?

The css below works when I have rel="external" but after adding noopener following the discussion earlier, the content is not displaying.

#content .grid_18 a[rel=external]:after {content:"\00a0\21D7";display:inline-block;position:relative;font-size:1.2em;padding:0}

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2020-05-05 17:53:24

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: [SOLVED] css pseudo classes

Does this page help?

i.e. has external (among others) in the rel attribute:

[rel~=external]

TXP Builders – finely-crafted code, design and txp

Offline

#3 2020-05-05 18:07:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: [SOLVED] css pseudo classes

That was it! Thans so much Julian.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB