본문 바로가기
Web(HTML5)

Apply text css

by swconsulting 2018. 1. 15.

1) css

.ul-station-list-css {
text-shadow: none;
color: white;
font-weight: normal;
font-family: sans-serif;
}

.ui-station-list {
text-shadow: none;
color: white;
font-size: 13px;
font-weight: normal;
font-family: sans-serif;
}

2) Apply jQuery Html

$.each(info, function (i, value) {
...
li +=
'<li><a href="#" id="' + i + '" class="info-go"' + ' style="background:' + statusColor + '">'
+ '<p class="ul-station-list-css"><big>'+value.StationName+' 측정소</big>' + ' (' + value.DataTime + ')</p>'
//+ '<p class="ul-station-list">'+value.Addr+' ('+value.DataTime+')</p>'
+ '<p class="ui-li-aside ul-station-list-css">' + statusText + '(' + pmValue +')</p>'
+ '</a></li>';
});