yanyana kutu yardım |
7 Mesajlar | 1.272 Okunma |
bebektos.com - Bebek Ürünleri Pazaryeri
bebektos.com - Bebek Ürünleri Pazaryeri
- About
- Team
- Privacy
- Advertise
- Contact
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam ex optio molestiae deleniti accusantium nobis hic, quia, quaerat ipsa numquam, eius expedita odit earum. Dolores dolore iusto est earum praesentium?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde, sit, velit mollitia pariatur laudantium officia, fugit neque eligendi saepe sint ea! Debitis aperiam nulla voluptatem libero fuga a, veniam amet.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eligendi magnam porro iure fugiat repellendus iusto aperiam ducimus laudantium alias omnis maiores beatae veniam debitis voluptatibus asperiores, voluptates nostrum nihil quae?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspernatur excepturi, amet voluptatibus quibusdam assumenda adipisci, quidem ipsa necessitatibus, fugit repellat nam sequi ducimus recusandae id illo? Unde necessitatibus repellat, modi?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur cupiditate dignissimos quae aspernatur, ex hic, voluptatibus excepturi officia velit dolorum fugiat nam nostrum earum maiores praesentium nemo nobis eaque officiis.
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400);
$base-font: 'Open Sans', sans-serif;
$bgc:#4c607c;
$tabc:#b2bbc0;
$fontc:#596165;
$tabfontc:white;
$tabwidth:650px;
body{
background-color: $bgc;
height:100%;
font-family: $base-font;
font-size: 16px;
line-height:1.5;
}
.tab-block{
width:$tabwidth;
height:290px;
margin:50px auto;
.tab-mnu{
display:block;
list-style:none;
&:after{
content:'';
display:table;
clear:both;
}
li{
box-sizing:border-box;
float:left;
background-color: $tabc;
color:$tabfontc;
width:$tabwidth/5;
text-align:center;
padding-top:13px;
padding-bottom:13px;
cursor:pointer;
&:not(:last-child){
border-right:1px solid $bgc;
}
&:hover:not(.active){
background-color: lighten($tabc,5%);
}
}
.active{
background-color: #fff;
color:$fontc;
border-bottom:1px solid lighten($fontc,55%);
cursor:default;
}
}
.tab-cont{
box-sizing:border-box;
border-top:1px solid white;
background-color:$tabfontc;
color:darken($fontc,20%);
.tab-pane{
padding:20px 25px;
}
}
}
$(document).ready(function(){
var tabWrapper = $('#tab-block'),
tabMnu = tabWrapper.find('.tab-mnu li'),
tabContent = tabWrapper.find('.tab-cont > .tab-pane');
tabContent.not(':first-child').hide();
tabMnu.each(function(i){
$(this).attr('data-tab','tab'+i);
});
tabContent.each(function(i){
$(this).attr('data-tab','tab'+i);
});
tabMnu.click(function(){
var tabData = $(this).data('tab');
tabWrapper.find(tabContent).hide();
tabWrapper.find(tabContent).filter('[data-tab='+tabData+']').show();
});
$('.tab-mnu > li').click(function(){
var before = $('.tab-mnu li.active');
before.removeClass('active');
$(this).addClass('active');
});
});
bebektos.com - Bebek Ürünleri Pazaryeri
bebektos.com - Bebek Ürünleri Pazaryeri