분할 된 응용 프로그램에서 배경색을 변경할 수 없습니다. 나는 css를 사용하여 이미 tryed했기 때문에, 그리고 어떤 성공도없이, 어떻게, 모르겠다.Windows store app - item 배경색의
<div class="itemtemplate" data-win-control="WinJS.Binding.Template">
<div class="item">
<img class="item-image" src="#" data-win-bind="src: backgroundImage; alt: title" />
<div class="item-info">
<h3 class="item-title win-type-ellipsis" data-win-bind="textContent: title"></h3>
<h6 class="item-subtitle win-type-ellipsis" data-win-bind="textContent: subtitle"></h6>
<h4 class="item-description" data-win-bind="textContent: description"></h4>
</div>
</div>
</div>
CSS의 시도 :
이
이 항목에 대한 템플릿 (거의 기본값).item {
background-color: red;
}
그리고 이것은 같은 모습입니다 : 또한
, 내가 원하는 이 바이올렛 컬러를 변경하고, 바이올렛 (hover?) 주변의 밝은 회색 컬러를 다른 것으로 변경하십시오.
당신이 ListView에 대한 템플릿을 사용하고 있습니까 : 보라색 색상을 변경하려면 두 번째 질문에 대해서는
HTML 코드에서 사용되는 모든 클래스를 추가 할 수 있습니까? 이렇게하면 문제를 찾는 데 도움이됩니다. 배경색 : –
배경색 : background : # xxxxxx' – zik