CSS
- 2 ответа
- 0 вопросов
1
Вклад в тег
<div class="container">
<div class="row" style="background-color: #1b6d85;height: 600px">
<div class="col-md-4" style="background-color: red; height: 300px"></div>
<div class="col-md-4" style="background-color: #3132ff;height: 300px"></div>
<div class="col-md-4" style="background-color: #43ff4e;height: 300px"></div>
</div>
</div>
<div class="container">
<div class="row" style="background-color: #1b6d85;height: 600px">
<div class="col-md-3" style="background-color: red; height: 300px"></div>
<div class="col-md-3" style="background-color: #3132ff;height: 300px"></div>
<div class="col-md-3" style="background-color: #43ff4e;height: 300px"></div>
<div class="col-md-3" style="background-color: #43ff4e;height: 300px"></div>
</div>
</div>
<span class="hoverable">sone</span><span class="hoverable">words</span><span class="hoverable">here</span>
<script>
$("span.hoverable").hover(function () {
var word = $(this).html(); // there is a word to send to server
});
</script>