i wanted to traverse through box or div
on press of tab button
and show its full content
question:
- show to traverse through the
box
on press oftab button
- and show its full content for eg: upto hello world15
here is codepen:https://codepen.io/anon/pen/xJMqbb
.fond{position:absolute;padding-top:85px;top:0;left:0; right:0;bottom:0;
background-color:#00506b;}
.style_prevu_kit
{
display:inline-block;
border:0;
width:196px;
height:210px;
position: relative;
-webkit-transition: all 200ms ease-in;
-webkit-transform: scale(1);
-ms-transition: all 200ms ease-in;
-ms-transform: scale(1);
-moz-transition: all 200ms ease-in;
-moz-transform: scale(1);
transition: all 200ms ease-in;
transform: scale(1);
overflow: hidden;
}
.style_prevu_kit:hover
{
box-shadow: 0px 0px 150px #000000;
z-index: 2;
-webkit-transition: all 200ms ease-in;
-webkit-transform: scale(1.5);
-ms-transition: all 200ms ease-in;
-ms-transform: scale(1.5);
-moz-transition: all 200ms ease-in;
-moz-transform: scale(1.5);
transition: all 200ms ease-in;
transform: scale(1.5);
border:2px solid green;
}
<link href='https://fonts.googleapis.com/css?family=Roboto:100,400,300,500,700' rel='stylesheet' type='text/css'>
<div align="center" class="fond">
<div style="width:1000px;">
<div class="style_prevu_kit" style="background-color:#cb2025;">
<ul>
<li>hello world1</li>
<li>hello world2</li>
<li>hello world3</li>
<li>hello world4</li>
<li>hello world5</li>
<li>hello world6</li>
<li>hello world7</li>
<li>hello world8</li>
<li>hello world9</li>
<li>hello world10</li>
<li>hello world11</li>
<li>hello world12</li>
<li>hello world13</li>
<li>hello world14</li>
<li>hello world15</li>
</ul>
</div>
<div class="style_prevu_kit" style="background-color:#f8b334;">
<ul>
<li>hello world1</li>
<li>hello world2</li>
<li>hello world3</li>
<li>hello world4</li>
<li>hello world5</li>
<li>hello world6</li>
<li>hello world7</li>
<li>hello world8</li>
<li>hello world9</li>
<li>hello world10</li>
<li>hello world11</li>
<li>hello world12</li>
<li>hello world13</li>
<li>hello world14</li>
<li>hello world15</li>
</ul>
</div>
<div class="style_prevu_kit" style="background-color:#97bf0d;">
<ul>
<li>hello world1</li>
<li>hello world2</li>
<li>hello world3</li>
<li>hello world4</li>
<li>hello world5</li>
<li>hello world6</li>
<li>hello world7</li>
<li>hello world8</li>
<li>hello world9</li>
<li>hello world10</li>
<li>hello world11</li>
<li>hello world12</li>
<li>hello world13</li>
<li>hello world14</li>
<li>hello world15</li>
</ul>
</div>
<div class="style_prevu_kit" style="background-color:#00a096;">
<ul>
<li>hello world1</li>
<li>hello world2</li>
<li>hello world3</li>
<li>hello world4</li>
<li>hello world5</li>
<li>hello world6</li>
<li>hello world7</li>
<li>hello world8</li>
<li>hello world9</li>
<li>hello world10</li>
<li>hello world11</li>
<li>hello world12</li>
<li>hello world13</li>
<li>hello world14</li>
<li>hello world15</li>
</ul>
</div>
<div class="style_prevu_kit" style="background-color:#93a6a8;">
<ul>
<li>hello world1</li>
<li>hello world2</li>
<li>hello world3</li>
<li>hello world4</li>
<li>hello world5</li>
<li>hello world6</li>
<li>hello world7</li>
<li>hello world8</li>
<li>hello world9</li>
<li>hello world10</li>
<li>hello world11</li>
<li>hello world12</li>
<li>hello world13</li>
<li>hello world14</li>
<li>hello world15</li>
</ul>
</div>
</div>
</div>
Note: without changing html structure or element