JqueryまたはJSを使用してこれらのdivの1つをマウスオーバーすると、テキストとアイコンが消えて「もっと読む」が表示されるようにする方法を探しています。私はいくつかのガイドを見たことがありますが、実際に仕事全体を達成しているようには見えません.Div全体をクリアするのではなく、1行のテキストを削除し、マウスオーバー時に中央にある "Read More"マウスがホバーを抜けると、通常のテキストに戻ります。誰でも何か提案がありますか? divは実際のページでは横向きですが、ここで縦に表示される理由はわかりません。ホバー上のテキストをJqueryまたはJavaScriptに置き換える
.feature-container{ box-shadow:0 1px 6px rgba(0,0,0,0.1); position:relative; z-index:9; width:100%; display:inline-block;}
.feature-box{background:#fff; text-align:center; padding:40px 30px; position:relative; width:25%;}
.feature-box i{font-size:50px; margin-bottom:15px; cursor:pointer;}
.feature-box:hover{background:#208541 !important; color:#f6f6f6;}
.feature-box.dark{background:#f6f6f6;}
<div class="feature-container" >
\t \t <div class="feature-box-container feature-slider">
\t <div class="feature-box">
\t <i class="ion-ios-list-outline"></i>
<h4>Content</h4>
<p>Effective learning methodology that focuses on concepts and understanding of AICPA blueprints.</p>
</div>
<div class="feature-box dark">
\t <i class="ion-ios-cog-outline"></i>
<h4>Customization</h4>
<p>Adaptive content for a custom learning experience and individualized delivery through AdaptaPASS.</p>
</div>
<div class="feature-box">
\t <i class="ion-help"></i>
<h4>Support</h4>
<p>Direct access to our instructors and CPAs, by phone, email, or via our student-only message board.</p>
</div>
<div class="feature-box dark">
\t <i class="ion-social-usd-outline"></i>
<h4>Value</h4>
<p>Everything you need -- for less. Our course bundle costs hundreds less than competitors.</p>
</div>
</div>
</div>
あなたはあなたのJSもあまりにも提供することはできますか? –
また、私たちにとって便利なjsfiddle/jsbin/codepenにあなたのコードを入れることができたら、ありがとう –
StackOverflowスニペット@MattFletcherの何が問題なのですか? –