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: 7,905
Website

[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.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Online

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

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,810
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: 7,905
Website

Re: [SOLVED] css pseudo classes

That was it! Thans so much Julian.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Online

Board footer

Powered by FluxBB