This topic has 1 reply, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #88708
     wilfriedMarseille
    Participant

    Hello
    On my footer in my newsletter button “je m’abonne” When i click on my button it move at the top.
    I try to copy/past with :active and :focus But is not working … Can you help me again please ?This is my css code
    `

    /*****************   NEWS LETTERS   ******************/
    /*LabelMailChimp Recevez nos meilleurs ….*/
    .mailchimplab{
        fontsize: 23.6px;
        maxwidth: 3000px;
    }
    /*Bouton s’abonner*/
    .abonnement {
      webkitboxsizing: contentbox;
      mozboxsizing: contentbox;
      boxsizing: contentbox;
      position: relative;
      cursor: pointer;
      padding: 0 25px 0 20px;
      font: normal 21.3px/2.4 “Open Sans”, Helvetica, sansserif;
      color: #407F7F;
      texttransform: uppercase;
      otextoverflow: clip;
      textoverflow: clip;
      background: #0D4D4D;
      webkitboxshadow: 0 5px 0 0 #003333 ;
      /*box-shadow: 0 5px 0 0 #003333 ;*/
      textshadow: 0 1px 1px rgba(87,151,180,0.36) ;
      webkittransition: top 50ms cubicbezier(0.42, 0, 0.58, 1);
      moztransition: top 50ms cubicbezier(0.42, 0, 0.58, 1);
      otransition: top 50ms cubicbezier(0.42, 0, 0.58, 1);
      transition: top 50ms cubicbezier(0.42, 0, 0.58, 1);
          margin: 0 auto;
          textalign: center;
        border: solid 2px #0D4D4D !important;
        bordertoprightradius : 10px;
        borderbottomrightradius : 10px;
    }
    .abonnement:hover {
      webkittransition: none;
      moztransition: none;
      otransition: none;
      transition: none;
    }
    .abonnement:active {
      top: 2px;
      webkitboxshadow: 0 3px 0 0 #003333 ;
      boxshadow: 0 3px 0 0 #003333 ;
      webkittransformorigin: 50% 100% 0;
      transformorigin: 50% 100% 0;
      color:#669999 ;
    }
    /*Positionnement et taille du boutton s’abboner*/
    @media screen and (minwidth: 800px) {
    .mc4wpform button, .mc4wpform input[type=button], .mc4wpform input[type=submit] {
        cursor: pointer;
        display: inlineblock;
        webkitappearance: none;
        mozappearance: none;
        appearance: none;
        float: right;
        margintop: 18%;
        marginleft: 250px;
        position: absolute;
        height: 41px !important;
    }
    @media screen and (minwidth: 1280px){
      .mc4wpform button, .mc4wpform input[type=button], .mc4wpform input[type=submit]{
        margintop: 18%;
      }
    }
    }
    @media screen and (minwidth: 800px) {
    .mc4wpform button, .mc4wpform input[type=button], .mc4wpform input[type=submit]:focus{
        cursor: pointer;
        display: inlineblock;
        webkitappearance: none;
        mozappearance: none;
        appearance: none;
        float: right;
        margintop: 18%;
        marginleft: 250px;
        position: absolute;
    }
    }

    `

    Thanks you 🙂

    If you love Ableton check my blog :
    www.zikrea.com

    #88813
     Radu
    Moderator

    Hi,

    I’ve responded you here : https://archived.seventhqueen.com/forums/topic/css-problem-2

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?