Input type กำหนด CSS ของเเต่ละตัวในตัวอย่างมันหมายความว่าอะไร

Post a reply

Smilies
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Input type กำหนด CSS ของเเต่ละตัวในตัวอย่างมันหมายความว่าอะไร

Input type กำหนด CSS ของเเต่ละตัวในตัวอย่างมันหมายความว่าอะไร

by thatsawan » 21/03/2015 6:56 pm

Code: Select all

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

Code: Select all

select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

Code: Select all

input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"] {
  float: none;
  margin-left: 0;
}

Code: Select all

.controls-row [class*="span"] + [class*="span"] {
  margin-left: 20px;
}

Top