JSFiddle - React, Tailwind, and code Playground
by icntfan
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$("p").hover(function () {
$(this).css({'background-color' : 'red', 'font-weight' : 'bolder'});
}, function () {
var cssObj = {
'background-color' : '#CCC',
'font-weight' : '',
'color' : 'rgb(0,40,244)'
}
$(this).css(cssObj);
});
});
</script>
<style>
p { blue; }
</style>
</head>
<body>
<p>
Fareniz ile paragrafın üstüne geliniz
</p>
<p>
Fareniz ile paragrafın üstüne geliniz
</p>
</body>
</html>