Abstract:Curriculum ideological and political is the requirement of higher education in the new era. The whole process of education, full education, all-round education is the inevitable goal of higher education in the field of civil engineering. Considering the absence of curriculum ideological and political in universities, we tapped into the ideological and political elements based on the ethics and morals in the civil engineering specialty. We clarified the training objective in the civil engineering specialty with the visual field of foster virtue through education and constructed a teaching system of three-dimensional, multi-level, all-inclusive to enhance the objectiveness and effectiveness of curriculum ideological and political. We proposed multiple, original, interesting, and flexible teaching methods to make up for the lack of monotonous teaching mode. We took the national online course soil mechanics and foundation engineering as an example, explored the way of integrating ideological and political elements into professional courses from course content, teaching mode, and course evaluation, in order to provide reference for the teaching of curriculum ideological and political in civil engineering specialty.