फ़ायरफ़ॉक्स 36. में flexbox और अंतरिक्ष के बीच साथ कोई समस्या है कारणों के लिए अज्ञात अंतरिक्ष के बीच फ़ायरफ़ॉक्स में सही नहीं है (बाएं अजीब मार्जिन का कारण बनता है) लेकिन Google क्रोम में बिल्कुल सही है।flexbox शैली "संरेखित-सामग्री: अंतरिक्ष के बीच" गलत संरेखित Firefox में पूरी तरह से तैनात बच्चे के साथ
सीएसएस
.form-status {
display: flex;
justify-content: space-between;
position: relative;
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: $gray;
}
.step {
position: relative;
text-align: center;
padding-top: 15px;
color: $gray-light;
&:after {
content: "";
position: absolute;
height: 8px;
width: 8px;
border-radius: 50%;
top: -11px;
left: 50%;
margin-left: -11px;
background: $gray;
border: 8px solid #0c0616;
box-sizing: content-box;
}
&:first-child, &:last-child {
&:before {
content: "";
position: absolute;
top: 0;
left: -100vw;
right: 0;
height: 1px;
background: black;
}
}
&:first-child:before { right: 50%; }
&:last-child:before { left: 50%; }
&.active {
color: white;
&:after { background: $brand-yellow; }
}
}
}
एचटीएमएल
<div class="page-section page-section-dark page-section-narrow">
<div class="container">
<div class="form-status">
<div class="step {{#ifeq step "one"}}active{{/ifeq}}">
Basic Information
</div>
<div class="step {{#ifeq step "two"}}active{{/ifeq}}">
Agreement
</div>
<div class="step {{#ifeq step "three"}}active{{/ifeq}}">
Payment
</div>
</div>
</div>
</div>
आप विक्रेता उपसर्गों को जोड़ने की कोशिश की? – ratherblue
नहीं - एक शॉट के लायक हो सकता है। – ControlZ
विक्रेता उपसर्ग आपकी मदद नहीं करेगा; फ़ायरफ़ॉक्स आधुनिक सीएसएस फ्लेक्सबॉक्स (या कुछ विरासत गुणों/मानों को छोड़कर) के लिए उपसर्ग का समर्थन नहीं करता है। – dholbert