|
|
Line 41: |
Line 41: |
| h1 { | | h1 { |
| text-align: center; | | text-align: center; |
− | }
| |
− |
| |
− | #slider {
| |
− | position: relative;
| |
− | overflow: hidden;
| |
− | border-radius: 4px;
| |
− |
| |
− | padding-top: 230px;
| |
− | margin: 0 auto;
| |
− | }
| |
− |
| |
− | #slider ul {
| |
− | position: relative;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | height: 430px;
| |
− | list-style: none;
| |
− | }
| |
− |
| |
− | #slider ul li {
| |
− | position: relative;
| |
− | display: block;
| |
− | float: left;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | width: 1150px;
| |
− | height:1200px;
| |
− | text-align: center;
| |
− | line-height: 300px;
| |
− | }
| |
− |
| |
− | #slider ul li#slidetwo img{
| |
− | text-align:center;
| |
− | margin-top:40px;
| |
− | width: 444px;
| |
− | height:121px;
| |
− | }
| |
− |
| |
− | a.control_prev, a.control_next {
| |
− | position: absolute;
| |
− | top: 40%;
| |
− | z-index: 999;
| |
− | display: block;
| |
− | padding: 4% 3%;
| |
− | width: auto;
| |
− | height: auto;
| |
− | background: #e8b86e;
| |
− | color: #fff;
| |
− | text-decoration: none;
| |
− | font-weight: 600;
| |
− | font-size: 18px;
| |
− | opacity: 0.8;
| |
− | cursor: pointer;
| |
− |
| |
− | }
| |
− |
| |
− | a.control_prev:hover, a.control_next:hover {
| |
− | opacity: 1;
| |
− | -webkit-transition: all 0.2s ease;
| |
− | }
| |
− |
| |
− | a.control_prev {
| |
− | border-radius: 40px;
| |
− | }
| |
− |
| |
− | a.control_next {
| |
− | right: 0;
| |
− | border-radius: 40px;
| |
− | }
| |
− |
| |
− | .slider_option {
| |
− | position: relative;
| |
− | margin: 10px auto;
| |
− | width: 160px;
| |
− | font-size: 18px;
| |
| } | | } |
| | | |