Topic: rounded-circle class doesn't exists ?

Pierre Dommerc pro asked 6 years ago


Hi, I try to use the rounded-circle class to shape an image like that : <img src="..." alt="..." class="img-fluid rounded-circle z-depth-2"> But the image stays unshape. So I have looked into mdb.css, and effectivly there is no class named ".rounded-circle" However in your doc you talk about this class : http://mdbootstrap.com/css/media/ I use MDB PRO 4.1.1 I have missed something ?

Pierre Dommerc pro answered 6 years ago


Ok thanks

MDB 4.1.1 is integrated with Bootstrap 4.0.0-alpha 3. Recently, we released MDB 4.2.0 which is compatible with latest Bootstrap 4.0.0-alpha 5. In alpha-5, Bootstrap changed the syntax for rounded images. If you're using MDB 4.1.1 you should use .img-circle class instead of .rounded-circle

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags