CSS - drop-shadow issue











up vote
0
down vote

favorite












I'm working with the drop-shadow property. It is working fine in browsers except internet explorer. Its important this works in internet explorer 11 for me. What can I do? Thanks in advance.






.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
filter: drop-shadow(5px 5px 5px #222);
-webkit-filter: drop-shadow(5px 5px 5px #222);
-ms-filte: drop-shadow(5px 5px 5px #222);
}

<div class="nb-view-project-image"></div>












share|improve this question




















  • 3




    Maybe it's the typographical error on -ms-filte: ?
    – Jeremiah Cabigting
    Nov 7 at 8:51










  • Hey Jeremiah Cabigting, I edited and tried again. But not working...
    – Bst_coder
    Nov 7 at 8:52












  • @JeremiahCabigting. It is not to remove, it is to add the "r" at the end, so -ms-filter.
    – Serge Inácio
    Nov 7 at 8:55












  • Yeah Jeremiah Cabigting , I edited and tried, but not working..:)
    – Bst_coder
    Nov 7 at 8:56










  • filter is not supported in IE11 (that includes -ms-filter). Instead use box-shadow
    – lumio
    Nov 7 at 8:58

















up vote
0
down vote

favorite












I'm working with the drop-shadow property. It is working fine in browsers except internet explorer. Its important this works in internet explorer 11 for me. What can I do? Thanks in advance.






.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
filter: drop-shadow(5px 5px 5px #222);
-webkit-filter: drop-shadow(5px 5px 5px #222);
-ms-filte: drop-shadow(5px 5px 5px #222);
}

<div class="nb-view-project-image"></div>












share|improve this question




















  • 3




    Maybe it's the typographical error on -ms-filte: ?
    – Jeremiah Cabigting
    Nov 7 at 8:51










  • Hey Jeremiah Cabigting, I edited and tried again. But not working...
    – Bst_coder
    Nov 7 at 8:52












  • @JeremiahCabigting. It is not to remove, it is to add the "r" at the end, so -ms-filter.
    – Serge Inácio
    Nov 7 at 8:55












  • Yeah Jeremiah Cabigting , I edited and tried, but not working..:)
    – Bst_coder
    Nov 7 at 8:56










  • filter is not supported in IE11 (that includes -ms-filter). Instead use box-shadow
    – lumio
    Nov 7 at 8:58















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm working with the drop-shadow property. It is working fine in browsers except internet explorer. Its important this works in internet explorer 11 for me. What can I do? Thanks in advance.






.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
filter: drop-shadow(5px 5px 5px #222);
-webkit-filter: drop-shadow(5px 5px 5px #222);
-ms-filte: drop-shadow(5px 5px 5px #222);
}

<div class="nb-view-project-image"></div>












share|improve this question















I'm working with the drop-shadow property. It is working fine in browsers except internet explorer. Its important this works in internet explorer 11 for me. What can I do? Thanks in advance.






.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
filter: drop-shadow(5px 5px 5px #222);
-webkit-filter: drop-shadow(5px 5px 5px #222);
-ms-filte: drop-shadow(5px 5px 5px #222);
}

<div class="nb-view-project-image"></div>








.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
filter: drop-shadow(5px 5px 5px #222);
-webkit-filter: drop-shadow(5px 5px 5px #222);
-ms-filte: drop-shadow(5px 5px 5px #222);
}

<div class="nb-view-project-image"></div>





.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
filter: drop-shadow(5px 5px 5px #222);
-webkit-filter: drop-shadow(5px 5px 5px #222);
-ms-filte: drop-shadow(5px 5px 5px #222);
}

<div class="nb-view-project-image"></div>






css internet-explorer-11 dropshadow






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 7 at 9:38









Syfer

2,52421023




2,52421023










asked Nov 7 at 8:48









Bst_coder

11




11








  • 3




    Maybe it's the typographical error on -ms-filte: ?
    – Jeremiah Cabigting
    Nov 7 at 8:51










  • Hey Jeremiah Cabigting, I edited and tried again. But not working...
    – Bst_coder
    Nov 7 at 8:52












  • @JeremiahCabigting. It is not to remove, it is to add the "r" at the end, so -ms-filter.
    – Serge Inácio
    Nov 7 at 8:55












  • Yeah Jeremiah Cabigting , I edited and tried, but not working..:)
    – Bst_coder
    Nov 7 at 8:56










  • filter is not supported in IE11 (that includes -ms-filter). Instead use box-shadow
    – lumio
    Nov 7 at 8:58
















  • 3




    Maybe it's the typographical error on -ms-filte: ?
    – Jeremiah Cabigting
    Nov 7 at 8:51










  • Hey Jeremiah Cabigting, I edited and tried again. But not working...
    – Bst_coder
    Nov 7 at 8:52












  • @JeremiahCabigting. It is not to remove, it is to add the "r" at the end, so -ms-filter.
    – Serge Inácio
    Nov 7 at 8:55












  • Yeah Jeremiah Cabigting , I edited and tried, but not working..:)
    – Bst_coder
    Nov 7 at 8:56










  • filter is not supported in IE11 (that includes -ms-filter). Instead use box-shadow
    – lumio
    Nov 7 at 8:58










3




3




Maybe it's the typographical error on -ms-filte: ?
– Jeremiah Cabigting
Nov 7 at 8:51




Maybe it's the typographical error on -ms-filte: ?
– Jeremiah Cabigting
Nov 7 at 8:51












Hey Jeremiah Cabigting, I edited and tried again. But not working...
– Bst_coder
Nov 7 at 8:52






Hey Jeremiah Cabigting, I edited and tried again. But not working...
– Bst_coder
Nov 7 at 8:52














@JeremiahCabigting. It is not to remove, it is to add the "r" at the end, so -ms-filter.
– Serge Inácio
Nov 7 at 8:55






@JeremiahCabigting. It is not to remove, it is to add the "r" at the end, so -ms-filter.
– Serge Inácio
Nov 7 at 8:55














Yeah Jeremiah Cabigting , I edited and tried, but not working..:)
– Bst_coder
Nov 7 at 8:56




Yeah Jeremiah Cabigting , I edited and tried, but not working..:)
– Bst_coder
Nov 7 at 8:56












filter is not supported in IE11 (that includes -ms-filter). Instead use box-shadow
– lumio
Nov 7 at 8:58






filter is not supported in IE11 (that includes -ms-filter). Instead use box-shadow
– lumio
Nov 7 at 8:58














3 Answers
3






active

oldest

votes

















up vote
1
down vote













Try this css:



.nb-view-project-image {
max-width: 315px;
width: 100px;
height: 100px;
border-radius: 50%;
background: #ff4040;
box-shadow: 5px 5px 5px #222;
}





share|improve this answer




























    up vote
    0
    down vote













    Try using:



    -moz-box-shadow: #222 5px 5px 5px;
    box-shadow: 5px 5px 5px #222;


    Or:



    -webkit-box-shadow: #222 5px 5px 5px;
    box-shadow: 5px 5px 5px #222;





    share|improve this answer























    • Why would you need -*-box-shadow here? box-shadow alone is good enough
      – lumio
      Nov 7 at 9:00










    • Just adds extra support for older browsers
      – user3710372
      Nov 7 at 9:04










    • Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
      – lumio
      Nov 7 at 9:08












    • Very true, amended it now, thanks! ^-^
      – user3710372
      Nov 7 at 9:11


















    up vote
    0
    down vote













    You could also try to use the following code:



    .nb-view-project-image {
    background: red;
    height: 100px;
    width: 100px;
    border-radius: 50px;
    margin: 20px;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
    }





    share|improve this answer





















      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53186051%2fcss-drop-shadow-issue%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      Try this css:



      .nb-view-project-image {
      max-width: 315px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: #ff4040;
      box-shadow: 5px 5px 5px #222;
      }





      share|improve this answer

























        up vote
        1
        down vote













        Try this css:



        .nb-view-project-image {
        max-width: 315px;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #ff4040;
        box-shadow: 5px 5px 5px #222;
        }





        share|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          Try this css:



          .nb-view-project-image {
          max-width: 315px;
          width: 100px;
          height: 100px;
          border-radius: 50%;
          background: #ff4040;
          box-shadow: 5px 5px 5px #222;
          }





          share|improve this answer












          Try this css:



          .nb-view-project-image {
          max-width: 315px;
          width: 100px;
          height: 100px;
          border-radius: 50%;
          background: #ff4040;
          box-shadow: 5px 5px 5px #222;
          }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 7 at 8:55









          Szymon Zakiewicz

          516




          516
























              up vote
              0
              down vote













              Try using:



              -moz-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;


              Or:



              -webkit-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;





              share|improve this answer























              • Why would you need -*-box-shadow here? box-shadow alone is good enough
                – lumio
                Nov 7 at 9:00










              • Just adds extra support for older browsers
                – user3710372
                Nov 7 at 9:04










              • Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
                – lumio
                Nov 7 at 9:08












              • Very true, amended it now, thanks! ^-^
                – user3710372
                Nov 7 at 9:11















              up vote
              0
              down vote













              Try using:



              -moz-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;


              Or:



              -webkit-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;





              share|improve this answer























              • Why would you need -*-box-shadow here? box-shadow alone is good enough
                – lumio
                Nov 7 at 9:00










              • Just adds extra support for older browsers
                – user3710372
                Nov 7 at 9:04










              • Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
                – lumio
                Nov 7 at 9:08












              • Very true, amended it now, thanks! ^-^
                – user3710372
                Nov 7 at 9:11













              up vote
              0
              down vote










              up vote
              0
              down vote









              Try using:



              -moz-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;


              Or:



              -webkit-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;





              share|improve this answer














              Try using:



              -moz-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;


              Or:



              -webkit-box-shadow: #222 5px 5px 5px;
              box-shadow: 5px 5px 5px #222;






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Nov 7 at 9:10

























              answered Nov 7 at 8:55









              user3710372

              135




              135












              • Why would you need -*-box-shadow here? box-shadow alone is good enough
                – lumio
                Nov 7 at 9:00










              • Just adds extra support for older browsers
                – user3710372
                Nov 7 at 9:04










              • Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
                – lumio
                Nov 7 at 9:08












              • Very true, amended it now, thanks! ^-^
                – user3710372
                Nov 7 at 9:11


















              • Why would you need -*-box-shadow here? box-shadow alone is good enough
                – lumio
                Nov 7 at 9:00










              • Just adds extra support for older browsers
                – user3710372
                Nov 7 at 9:04










              • Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
                – lumio
                Nov 7 at 9:08












              • Very true, amended it now, thanks! ^-^
                – user3710372
                Nov 7 at 9:11
















              Why would you need -*-box-shadow here? box-shadow alone is good enough
              – lumio
              Nov 7 at 9:00




              Why would you need -*-box-shadow here? box-shadow alone is good enough
              – lumio
              Nov 7 at 9:00












              Just adds extra support for older browsers
              – user3710372
              Nov 7 at 9:04




              Just adds extra support for older browsers
              – user3710372
              Nov 7 at 9:04












              Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
              – lumio
              Nov 7 at 9:08






              Ok, but then you should write them before box-shadow as they might overwrite it. Always write the property without the prefix last. ;)
              – lumio
              Nov 7 at 9:08














              Very true, amended it now, thanks! ^-^
              – user3710372
              Nov 7 at 9:11




              Very true, amended it now, thanks! ^-^
              – user3710372
              Nov 7 at 9:11










              up vote
              0
              down vote













              You could also try to use the following code:



              .nb-view-project-image {
              background: red;
              height: 100px;
              width: 100px;
              border-radius: 50px;
              margin: 20px;
              -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
              -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
              box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
              }





              share|improve this answer

























                up vote
                0
                down vote













                You could also try to use the following code:



                .nb-view-project-image {
                background: red;
                height: 100px;
                width: 100px;
                border-radius: 50px;
                margin: 20px;
                -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                }





                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  You could also try to use the following code:



                  .nb-view-project-image {
                  background: red;
                  height: 100px;
                  width: 100px;
                  border-radius: 50px;
                  margin: 20px;
                  -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                  -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                  }





                  share|improve this answer












                  You could also try to use the following code:



                  .nb-view-project-image {
                  background: red;
                  height: 100px;
                  width: 100px;
                  border-radius: 50px;
                  margin: 20px;
                  -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                  -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
                  }






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 8 at 6:56









                  Dillion

                  29913




                  29913






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53186051%2fcss-drop-shadow-issue%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      這個網誌中的熱門文章

                      Academy of Television Arts & Sciences

                      L'Équipe

                      1995 France bombings