Flipped classroom teaching model comes from the USA, widely popular in recent years and has become one of the world's most popular teaching models. Before class, students learn knowledge by watching multimedia courseware, accessing information and communicating with teachers and classmates online. In the classroom, teachers put the majority of class time for exchanges and discussions with students, interpretation, homework guidance, organisation and participation in group activities and so on. The paper introduces how to use the concept of the flipped classroom teaching in mechanics of materials course, promoting the teaching quality. Course website is full of course information. Through the website, students can study the mechanics of materials course knowledge system. With the website background management, teachers update the website information in a timely manner. Course website is rich in function modules. Each function module includes rich teaching contents, provides a large amount of course information.