User:Flashjay/testbox table styling 03: Difference between revisions

From GCD
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
| style="vertical-align:top; width:200px; background-color: none; text-align: left; padding: 5px 10px 5px 10px;" class="container_row"|<!--
| style="vertical-align:top; width:200px; background-color: none; text-align: left; padding: 5px 10px 5px 10px;" class="container_row"|<!--
--><span id="hide1">[[File:Test cover issue.jpg|center|thumbnail|80px|[[#hide1|Cover1]]]]</span><!--
--><span id="hide1">[[File:Test cover issue.jpg|center|thumbnail|80px|[[#hide1|Cover1]]]]</span><!--
--><span id="hide2">[[File:Test cover issue.jpg|center|thumbnail|80px|[[#hide2|Cover2]]]]</span><!--
--><span id="hide2">[[File:Test 2 cover issue.png|center|thumbnail|80px|[[#hide2|Cover2]]]]</span><!--
-->[[File:Test cover issue.jpg|center|thumbnail|80px|Cover3]]<!--
--><span id="hide3">[[File:Test 3 cover issue.png|center|thumbnail|80px|[[#hide3|Cover3]]]]</span><!--
-->[[File:Test cover issue.jpg|center|thumbnail|80px|Cover4]]<div class="layer1" id="toast1">[[File:Test cover issue.jpg|center|thumbnail|200px|Cover]]</div><div class="layer2" id="toast2">[[File:Test_NOcover_issue.png|center|thumbnail|200px|[[#toast2|Cover]]]]</div></div>
--><span id="hide4">[[File:Test 4 cover issue.png|center|thumbnail|80px|[[#hide4|Cover4]]]]</span><!--
--><div class="layer1" id="toast1">[[File:Test cover issue.jpg|center|thumbnail|200px|Cover]]</div><!--
--><div class="layer2" id="toast2">[[File:Test 2 cover issue.png|center|thumbnail|200px|[[#toast2|Cover]]]]</div></div>
| 3
| 3
| 4
| 4
Line 13: Line 15:




Test cover issue.jpg
Test_NOcover_issue.png
Test_NOcover_issue.png
Test 1 cover issue.png
Test 2-4 cover issue.png




2 covers stacked using css grid. change css code to resee both.
2 covers stacked using css grid. change css code to resee both.


span[id^="hide1"]:target ~ [id=toast2]
hide small cover show big cover:
span[id^="hide1"]:target ~ div[id^="toast1"]
{
    order: 4;
}





Revision as of 18:01, 3 January 2023

Cover
3 4
note


Test cover issue.jpg Test_NOcover_issue.png Test 1 cover issue.png Test 2-4 cover issue.png


2 covers stacked using css grid. change css code to resee both.

hide small cover show big cover: span[id^="hide1"]:target ~ div[id^="toast1"] {

   order: 4;

}


<a href="#detailView-1">Show View1</a> <p id="detailView-1">View1</p> <a href="#detailView-2">Show View2</a> <p id="detailView-2">View2</p>


Show View1

View1

Show View2

View2