के साथ फ्लेक्सबॉक्स आइटम के साथ आईई 11 अंक आईई 11 में जब कोई आइटम आइटम सही ढंग से केंद्र नहीं होता है तो उनके पास अधिकतम चौड़ाई संपत्ति होती है। हालांकि यह उदाहरण क्रोम और फ़ायरफ़ॉक्स में काम करता है।अधिकतम 11 चौड़ाई
.container {
display: flex;
justify-content: center;
align-items: center;
background-color: blue;
width: 100%;
}
.red {
background-color: red;
flex-grow: 1;
display: flex;
max-width: 200px;
}
<div class="container">
<div class="red">non centered box</div>
</div>
क्या कोई प्रश्न कहीं है? – jcoppens