How to change styles when you click the link?

How to replace the style of bottom: -100% to bottom: 0% by clicking on the link to read MORE and when you click on the BACK button to style bottom: -100% return.
https://jsfiddle.net/xa2r9fxx/9/
June 8th 19 at 16:25
2 answers
June 8th 19 at 16:27
For example:
https://jsfiddle.net/xa2r9fxx/2/

It is not entirely clear what you want to achieve such behavior.
blocks will be a few https://jsfiddle.net/xa2r9fxx/9/ - nikita.Stracke commented on June 8th 19 at 16:30
cool - Austen.Thompson53 commented on June 8th 19 at 16:33
June 8th 19 at 16:29
do not understand why you but so.
This example is not entirely suitable because of the more buttons a few pieces here is the website so maybe more will be clearer, the BLOG section when you click the DETAILS button from the bottom to the top should smoothly rise information .
Do not have css in the html to embed it is possible that the class added when clicked and removed when clicking the back button. Thanks for the help))). - nikita.Stracke commented on June 8th 19 at 16:32
, well, if some of the buttons make them the same class and event class screw. I have the skeleton written, or you want that I have the entire script painted? - Austen.Thompson53 commented on June 8th 19 at 16:35
Unfortunately knowledge of javascript is 0 , just started to learn php. Thanks for the script, - nikita.Stracke commented on June 8th 19 at 16:38
, well, competently and accurately implement this functionality with zero js will be very difficult. - Christine_Romaguera commented on June 8th 19 at 16:41
Will look for who will help! ))) - nikita.Stracke commented on June 8th 19 at 16:44

Find more questions by tags JavaScript