How do I reset all css styles for a certain div? (Jekyll blog)

I need to create a timeline. I'm using this timeline https://github.com/ybogdanov/history-timeline which is a JavaScript timeline.

I did read this post and tried all of its solutions Reset/remove CSS styles for element only

I cannot make my embed timeline working :(

This is the html with the timeline only

enter image description here

This is the blog (Jekyll based)

enter image description here

Answers:

Answer

try

div {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.