Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Background pour chaque bouton radio

  • KalinKessler
  • KalinKessler's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #144108 by KalinKessler
Background pour chaque bouton radio was created by KalinKessler
Bonjour je cherche à changer la couleur du background de chaque bouton radio. Le code que j'ai change pour tous les bouton à la fois, si vous pouvais m'aider sur ce point. Merci cordialement.
Code:
<style type="text/css">/* Add box around answer option */  
  input[type=radio] + label+div::before { font-family: FontAwesome;}
  input[type=radio]:checked +label+div::before { font-family:}
 
input[type=radio] + label+div {
  font-style: italic;
  padding-left: 25px;
  margin-left: -20px !important;
 
    border-radius: 50%;
    background: #73AD21;
    width: 150px;
    height: 150px;
} 
input[type=radio]:checked + label+div {
  color: #f00;
  font-style: normal;
  padding: 10px;  
  border: 1px solid green;
  margin-left: -20px !important;  
}
.radio label::before {
  visibility: hidden !important;
}
.radio label::after {
  visibility: hidden !important; 
}
</style>
 
The topic has been locked.
Moderators: Nickko

Lime-years ahead

Online-surveys for every purse and purpose