тестируем коды
всякое
Страница: 1
Сообщений 1 страница 5 из 5
Поделиться22020-05-08 23:05:41
Код:
/*Таблица страница*/
ul.tabletitle {
float: left;
display: inline-block;
height: 40px;
width: 840px;
padding: 5px;
text-align: center;
}
ul.tabletitle li {
display: inline-block;
position: relative;
font-family: Arial;
font-size: 12px;
text-align: center;
text-transform: uppercase;
line-height: 12px;
letter-spacing: 0.5px;
}
ul.tabletitle li a {
display: block;
font-weight: 700!important;
}
ul.tabletitle li:hover {
color: rgb(115, 105, 104)!important;
font-weight: 700!important;
}
ul.tabletitle li.active {
color: rgb(115, 105, 104)!important;
font-weight: 700!important;
}
.tabcontainer {
clear: both;
display: block;
height: 400px;
width: 823px;
padding: 5px;
}
.tabcontent {
display: block;
padding: 5px;
text-align: justify;
}
.tabcontent h2 {
font-weight: normal;
}Поделиться32020-05-13 17:56:49
Код:
<script type="text/javascript">
$('.post-content p').each(function(){
function replacer(str){return str.replace(/-\s|–\s/gm,'— ');}
var a = $(this).clone().wrap('<div></div>').parent().html();
var b = a.replace(/>[^<>]+</gim,replacer);
if(a!=b)$(this).replaceWith(b)
});
</script>Поделиться42020-05-13 18:03:24
Код:
/*Заглавная буква*/
.post-content p::first-letter {
color: #6c645c;
font-size: 15pt;
font-weight: bold;
font-family: 'Book Antiqua';
}Поделиться52020-05-13 18:15:47
48,2 написал(а):
тестируем коды
Страница: 1