1 |
There's
no
need
for
any
javascript,
you
can
just
use
the
[url=http://www.
w3.
org/TR/CSS2/selector.
html#dynamic-pseudo-classes]CSS
pseudo
classe[/url]
[i]:active[/i],
like
so:
|
1 |
There's
no
need
for
any
javascript,
you
can
just
use
the
[url=http://www.
w3.
org/TR/CSS2/selector.
html#dynamic-pseudo-classes]CSS
pseudo
classe[/url]
[i]:active[/i]
|
|
|
2 |
Like so:
|
2 |
[quote].forumPostText img:active {
|
3 |
[quote].forumPostText img:active {
|
3 |
display: inline-block;
|
4 |
display: inline-block;
|
4 |
vertical-align: middle;
|
5 |
vertical-align: middle;
|
5 |
position: fixed;
|
6 |
position: fixed;
|
6 |
width: auto;
|
7 |
width: auto;
|
7 |
height: auto;
|
8 |
height: auto;
|
8 |
max-width: 100%;
|
9 |
max-width: 100%;
|
9 |
max-height: 100%;
|
10 |
max-height: 100%;
|
10 |
top: 50%;
|
11 |
top: 50%;
|
11 |
left: 50%;
|
12 |
left: 50%;
|
12 |
transform: translate(-50%, -50%)
|
13 |
transform: translate(-50%, -50%)
|
13 |
}[/quote]
|
14 |
}[/quote]
|
14 |
\n
|
15 |
\n
|
15 |
Anyway, if you want to maximize the chance of this being implemented you can make a pull request on the [url=https://github.com/ZeroK-RTS/Zero-K-Infrastructure]Infrastructure part of ZK[/url].
|
16 |
Anyway, if you want to maximize the chance of this being implemented you can make a pull request on the [url=https://github.com/ZeroK-RTS/Zero-K-Infrastructure]Infrastructure part of ZK[/url].
|