# Maintainable CSS with visual regression testing and functional CSS

- Institution: CERN
- Department: Developers@CERN Forum
- Speaker: Sebastian Witowski
- Year: 2017
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3014417)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

Maintaining CSS is hard. Once your CSS files grows big, they become full of duplicated rules and unused code. What can we do to solve this problem?

In this talk I will describe two concepts that can help us writing maintainable CSS:

* Visual regression tests that can help us refactor our CSS with confidence * Functional CSS - a different way of writing CSS that can help us produce more maintainable code in the long term.

0:00:00 Slide 1

0:00:37 Slide 2

0:01:04 Slide 3

0:01:27 Slide 4

0:01:34 Slide 5

0:02:41 Slide 6

0:03:26 Slide 7

0:04:22 Slide 8

0:04:27 Slide 9

0:04:39 Slide 10

0:05:26 Slide 11

0:05:40 Slide 12

0:06:06 Slide 13

0:06:11 Slide 14

0:06:39 Slide 15

0:07:35 Slide 16

0:08:16 Slide 17

0:08:58 Slide 18

0:09:03 Slide 19

0:10:25 Slide 20

0:10:38 Slide 21

0:11:15 Slide 22

0:11:28 Slide 23

0:12:20 Slide 24

0:12:39 Slide 25

0:13:06 Slide 26

0:13:15 Slide 27

0:13:39 Slide 28

0:14:28 Slide 29

0:15:01 Slide 30

0:15:22 Slide 31

0:15:29 Slide 32

0:15:38 Slide 33

0:15:59 Slide 34

0:16:34 Slide 35

0:16:41 Slide 36

0:17:22 Slide 37

0:17:40 Slide 38

0:18:18 Slide 39

0:18:40 Slide 40

0:18:58 Slide 41

0:19:45 Slide 42

0:20:03 Slide 43

0:20:17 Slide 44

0:20:28 Slide 45

0:20:39 Slide 46

0:21:08 Slide 47

0:22:21 Slide 48

0:22:29 Slide 49

0:22:39 Slide 50

0:22:43 Slide 51

0:23:26 Slide 52

0:23:41 Slide 53

0:23:59 Slide 54

## Lectures

1. [Maintainable CSS with visual regression testing and functional CSS](https://invisiblenetwork.ai/learn/cern/3014417/9522bd17f20e), 25 min (CERN's player)
