borelphiyazilim adlı üyeden alıntı: mesajı görüntüle
Responsive tasarım / Bootstrap konusuna bir bakın derim hocam
abdulkerim adlı üyeden alıntı: mesajı görüntüle
Html, body {overflox-x: hidden;} deneyebilirsiniz
meksec adlı üyeden alıntı: mesajı görüntüle
4 de işten çıkıyorum hocam siz responsive tasarım nasıl yapılır araştırabilirsiniz 4 den sonra yine takıldığınız yer varsa sorabilirsiniz bilgim üst düzeyde olmasada yardımcı olurum kodu incelicem
Terzi53 adlı üyeden alıntı: mesajı görüntüle
* {
box-sizing: border-box;
}

body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
display: flex;
min-height: 120vh;
overflow-x: hidden; /* Yatay taşmayı önler */
}

#nav-bar {
position: fixed;
background-color: rgba(0, 0, 0, 0.1);
color: #fff;
width: 250px;
height: calc(100% - 120px);
top: 120px;
left: 0;
overflow-y: auto;
padding-top: 20px;
transition: transform 0.3s ease-in-out;
max-width: 250px; /* Nav-bar taşmayı önler */
}

#hamburger {
position: fixed;
top: 15px;
left: 15px;
background: #343a40;
color: #fff;
border: none;
padding: 10px;
border-radius: 6px;
cursor: pointer;
z-index: 1000;
display: none;
}

#nav-title {
font-size: 1.5rem;
font-weight: bold;
text-align: center;
display: block;
color: #343a40;
text-decoration: none;
margin-bottom: 20px;
}

.nav-button a {
display: block;
padding: 10px 20px;
color: #ccc;
text-decoration: none;
transition: background 0.3s, color 0.3s;
}

.nav-button a:hover,
.nav-button a.active {
background-color: rgb(255 255 255 / 15%);
color: #fff;
}

.container {
margin-left: calc(250px + 10px); /* Dinamik boşluk */
padding: 20px;
flex: 1;
color: rgba(0, 0, 0, 0.1);
}

main.content {
background-color: rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 8px;
word-wrap: break-word;
overflow-wrap: break-word;
box-sizing: border-box;
}

article h2 {
font-size: 1.5rem;
color: white;
}

article div {
font-size: 1rem;
line-height: 1.6;
white-space: pre-wrap;
}

@media (max-width: 991px) {
#nav-bar {
transform: translateX(-100%);
}

#nav-bar.active {
transform: translateX(0);
}

#hamburger {
display: block;
}

.container {
margin-left: 0;
padding-left: 250px; /* Nav-bar için boşluk bırak */
}
}

#search {
background-color: rgba(0, 0, 0, 0.1);
color: #333;
border: 1px solid #ccc;
padding: 10px;
border-radius: 5px;
}

#search:focus {
background-color: rgba(0, 0, 0, 0.1);
color: #000;
border-color: #ffffff;
outline: none;
}

#search:laceholder {
color: #888;
}

dene istersen bi
Değişen birşey olmadı hocam...

xmartogo adlı üyeden alıntı: mesajı görüntüle
position fixed? top 15 left 15? bunlarla tek tek responsive yapmak uğraştırır
ne yapmamı önerirsiniz hocam? mobil cihazlarda tüm herşey normal çalışıyor bilgisayarda ise sadece bu dediğim problem mevcut