这是我到目前为止 - https://jsfiddle.net/8216Lntb/
body {
background-color: black;
margin: 0 auto;
height: 100%;
width: 100%;
}
.grow {
height: 100vw;
/* Origional height */
width: 25%;
/* Origional width */
margin: 0px 0 0px 0;
/* Just for presentation (Not required) */
float: left;
/* Just for presentation (Not required) */
position: relative;
/* Just for presentation (Not required) */
transition: height 0.5s;
/* Animation time */
-webkit-transition: height 0.5s;
/* For Safari */
}
.grow:hover {
width: 25%;
/* This …Run Code Online (Sandbox Code Playgroud) public class Seat {
private int no;
private String class;
private boolean pos;
private boolean table;
private boolean dir;
private boolean access;
public Seat()
{
}
}
Run Code Online (Sandbox Code Playgroud)
当我尝试声明String类时,我继续收到错误,我知道它可能非常简单.