में टेक्स्ट आकार को कस्टमाइज़ करें मैं ट्विटर बूटस्ट्रैप का उपयोग करके "ऐप स्टोर से डाउनलोड करें" बटन बनाने की कोशिश कर रहा हूं।बूटस्ट्रैप बटन
जो मुद्दा मैं कर रहा हूं वह "ऐप स्टोर" टेक्स्ट को "ऊपर से डाउनलोड करें" टेक्स्ट से बड़ा बनाने की कोशिश कर रहा है।
यहां HTML और CSS है जिसका मैं उपयोग कर रहा हूं।
.fixed-hero .hero-text {
padding-top: 90px;
width: 65%;
color:#fff;
font-family: Century Gothic, sans-serif;
font-size: 2.2em;
line-height: 1.5em;
}
.fixed-hero .hero-button {
padding-top: 60px;
width: 65%;
}
.btn.btn-large.btn-danger{
border-style:solid;
border-width:1px;
border-color:#fff;
background-image: linear-gradient(to bottom, rgb(204, 81, 81), #990000);
text-align: left;
}
<div class="hero-button text-center">
<a href="#" class="btn btn-large btn-danger">
<i class="icon-apple icon-3x pull-left"></i>
<div>
Download from the
App Store
</div>
</a>
</div>
मैं प्रतिक्रिया और विशेषज्ञता की सराहना करता हूं।
लेकिन और 'App स्टोर' 'से डाउनलोड' जोड़ने का मामला है एक ही पाठ नोड कर रहे हैं। आप इस तरह की शैलियों को मिश्रित नहीं कर सकते हैं। आपको अलग-अलग शैलियों में अलग-अलग नोड्स में विभाजित करने की आवश्यकता है। –
आप ट्विटर बूटस्ट्रैप का उपयोग कर बटन टेक्स्ट वर्ड लपेट सकते हैं http://stackoverflow.com/questions/18996202/twitter-bootstrap-button-text-word-wrap –