class = "c" & id = "i":のdivを選択したい
 .c
 {
   color: red;
   border:1px;
   font-size:25px;
   background-color: yellow;
   width:200px;
 }
 <div id="i" class="c">change</div>
このdivのclass="c"プロパティから幅のみを変更するにはどうすればよいですか?
class = "c" & id = "i":のdivを選択したい
 .c
 {
   color: red;
   border:1px;
   font-size:25px;
   background-color: yellow;
   width:200px;
 }
 <div id="i" class="c">change</div>
このdivのclass="c"プロパティから幅のみを変更するにはどうすればよいですか?
次のようなことができます。
.c#i { width:400px }
cこれにより、class AND idで div の幅が変更されますi
この div の class="c" プロパティから幅のみを変更するにはどうすればよいですか?
class で div を選択するにはc:
div.c {width: yourValue;}
cclass AND idで div を変更するにはi:
.c#i {width: yourValue;}
ねえ、あなたはこれを行うことができます
#i.c{
width:xxx; //your value
}